]> git.lyx.org Git - features.git/commitdiff
A couple of using std::string declarations from Kayvan.
authorAngus Leeming <leeming@lyx.org>
Wed, 8 Oct 2003 08:38:05 +0000 (08:38 +0000)
committerAngus Leeming <leeming@lyx.org>
Wed, 8 Oct 2003 08:38:05 +0000 (08:38 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7878 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/lyxsum.C
src/support/os_win32.C

index 22ddf19d51fc0988adb430cbe6d8380b7e84b36d..c5c88a5c5a52535d374c47896b75e8073f839551 100644 (file)
@@ -18,6 +18,9 @@
 
 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.
 // The problem is that gcc uses a weak symbol for a particular
@@ -42,9 +45,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)"
index 6b574946997fa42b67c70e2f22bd2512fb6c4f72..37dc5999477ff37b9082052b560e7d1aaa7b73b0 100644 (file)
@@ -23,6 +23,7 @@
 
 using namespace lyx::support;
 using std::endl;
+using std::string;
 
 
 namespace {