Ignore:
Timestamp:
Jul 20, 2016, 11:14:38 AM (3 years ago)
Author:
cameron
Message:

Clean out using boost namespaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/symboltable.cpp

    r5033 r5101  
    3030#include <boost/filesystem.hpp>
    3131#include <boost/iostreams/device/mapped_file.hpp>
    32 using namespace boost::iostreams;
    33 using namespace boost::filesystem;
    3432
    3533typedef void (*SymTableFunctionType)(char * byte_data, size_t filesize);
     
    3836
    3937void process(const std::string & fileName, SymTableFunctionType function) {
    40     const path filePath(fileName);
     38    const boost::filesystem::path filePath(fileName);
    4139    if (exists(filePath) && !is_directory(filePath)) {
    4240        size_t fileSize = file_size(filePath);
    4341        if (fileSize > 0) {
    44             mapped_file file;
    45             file.open(fileName, mapped_file::priv, fileSize, 0);
     42            boost::iostreams::mapped_file file;
     43            file.open(fileName, boost::iostreams::mapped_file::priv, fileSize, 0);
    4644            char * data = file.data();
    4745            assert (data);
Note: See TracChangeset for help on using the changeset viewer.