]> git.lyx.org Git - lyx.git/blobdiff - src/support/userinfo.cpp
Attempt to fix #8137 (arrived at r40862).
[lyx.git] / src / support / userinfo.cpp
index 1b9b3c1a43f0e189b8b8e0be253c6dfa17bfcbc3..5f2cfcab65599d954b565d8df803d0ab4c93a2ef 100644 (file)
@@ -14,7 +14,7 @@
 #include "support/environment.h"
 #include "support/docstring.h"
 
-#include <boost/assert.hpp>
+#include "support/lassert.h"
 
 #if defined (_WIN32)
 # include "support/gettext.h"
@@ -30,7 +30,7 @@
 # include <sys/types.h>
 #endif
 
-using std::string;
+using namespace std;
 
 namespace lyx {
 namespace support {
@@ -46,7 +46,7 @@ docstring const user_name()
        return from_local8bit(name);
 #else
        struct passwd * pw = getpwuid(geteuid());
-       BOOST_ASSERT(pw);
+       LASSERT(pw, /**/);
 
        string name = pw->pw_gecos;
        if (name.empty())