]> git.lyx.org Git - lyx.git/blobdiff - src/support/lyxsum.C
tostr -> convert and some bformat work
[lyx.git] / src / support / lyxsum.C
index 22ddf19d51fc0988adb430cbe6d8380b7e84b36d..3ce7994ebaed9c4e4210108f9486e56e8bffe069 100644 (file)
 #include <config.h>
 
 #include "support/lyxlib.h"
+
 #include "debug.h"
 
-#include <algorithm>
 #include <boost/crc.hpp>
 
+#include <algorithm>
+
 using std::endl;
+using std::string;
+
 
 // OK, this is ugly, but it is the only workaround I found to compile
 // with gcc (any version) on a system which uses a non-GNU toolchain.
@@ -42,9 +46,6 @@ template class boost::detail::crc_table_t<32, 0x04C11DB7, true>;
 #include <sys/mman.h>
 
 
-using std::string;
-
-
 unsigned long lyx::support::sum(string const & file)
 {
        lyxerr[Debug::FILES] << "lyx::sum() using mmap (lightning fast)"