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/grep_engine.cpp

    r5100 r5101  
    6363#include <boost/filesystem.hpp>
    6464#include <boost/iostreams/device/mapped_file.hpp>
    65 using namespace boost::iostreams;
    66 using namespace boost::filesystem;
    6765
    6866#include <fcntl.h>
     
    8583
    8684void GrepEngine::doGrep(const std::string & fileName, const int fileIdx, bool CountOnly, std::vector<uint64_t> & total_CountOnly, bool UTF_16) {
    87     path file(fileName);
     85    boost::filesystem::path file(fileName);
    8886    if (exists(file)) {
    8987        if (is_directory(file)) {
     
    9896    if (fileSize > 0) {
    9997        try {
    100             mapped_file_source source(fileName, fileSize, 0);
     98            boost::iostreams::mapped_file_source source(fileName, fileSize, 0);
    10199            char * fileBuffer = const_cast<char *>(source.data());
    102100            if (CountOnly) {
Note: See TracChangeset for help on using the changeset viewer.