]> git.lyx.org Git - lyx.git/blobdiff - src/support/userinfo.C
tostr -> convert and some bformat work
[lyx.git] / src / support / userinfo.C
index 5bcc9a3ac454d33f546c02e6177d63fc2b524586..0225f5d29de592417463c119635978415768562a 100644 (file)
 
 #include <config.h>
 
-#include "userinfo.h"
-#include "LAssert.h"
-#include "filetools.h"
+#include "support/userinfo.h"
+#include "support/filetools.h"
+
+#include <boost/assert.hpp>
 
 #include <pwd.h>
 #include <unistd.h>
 #include <sys/types.h>
 
+using std::string;
+
 namespace lyx {
 namespace support {
 
 string const user_name()
 {
        struct passwd * pw(getpwuid(geteuid()));
-       Assert(pw);
+       BOOST_ASSERT(pw);
 
        string name = pw->pw_gecos;
        if (name.empty())