io: always enable mapped_file

This commit is contained in:
Danny Robson 2014-12-18 12:57:04 +11:00
parent d81149b6e1
commit c1c74a14f0

2
io.hpp
View File

@ -112,7 +112,6 @@ namespace util {
void set_cwd (const boost::filesystem::path &); void set_cwd (const boost::filesystem::path &);
#if defined(HAVE_MMAP)
/// Wraps a mechanism to map a file into memory. Read only. /// Wraps a mechanism to map a file into memory. Read only.
class mapped_file { class mapped_file {
private: private:
@ -143,7 +142,6 @@ namespace util {
const uint8_t* cbegin (void) const; const uint8_t* cbegin (void) const;
const uint8_t* cend (void) const; const uint8_t* cend (void) const;
}; };
#endif
class path_error : public std::runtime_error { class path_error : public std::runtime_error {