]> git.lyx.org Git - features.git/blobdiff - src/support/lyxsum.C
introduce namespace lyx::support
[features.git] / src / support / lyxsum.C
index f7e89fa200544eaa16c086a91650be70487c082e..6d6bbb5f029fe00b7668a12abb41b79a7141e7d7 100644 (file)
@@ -42,7 +42,7 @@ template class boost::detail::crc_table_t<32, 0x04C11DB7, true>;
 #include <sys/mman.h>
 
 
-unsigned long lyx::sum(string const & file)
+unsigned long lyx::support::sum(string const & file)
 {
        lyxerr[Debug::FILES] << "lyx::sum() using mmap (lightning fast)"
                             << endl;
@@ -98,7 +98,7 @@ unsigned long do_crc(InputIterator first, InputIterator last)
 using std::ifstream;
 using std::istreambuf_iterator;
 
-unsigned long lyx::sum(string const & file)
+unsigned long lyx::support::sum(string const & file)
 {
        lyxerr[Debug::FILES] << "lyx::sum() using istreambuf_iterator (fast)"
                             << endl;
@@ -116,7 +116,7 @@ unsigned long lyx::sum(string const & file)
 using std::istream_iterator;
 using std::ios;
 
-unsigned long lyx::sum(string const & file)
+unsigned long lyx::support::sum(string const & file)
 {
        lyxerr[Debug::FILES]
                << "lyx::sum() using istream_iterator (slow as a snail)"