]> git.lyx.org Git - lyx.git/blobdiff - config/lyxinclude.m4
change the std::string check
[lyx.git] / config / lyxinclude.m4
index 59046710a118e9faab2898659d511f3843dd9bad..cbd9564ce77f4fc05b5a336e163c3c3bcd83eb29 100644 (file)
@@ -345,8 +345,10 @@ AC_DEFUN(LYX_CXX_STL_STRING,[
            using std::string;
        ],[
            string a("hello there");
-           a.clear();
+           a.erase();
            a = "hey";
+           char s[] = "y";
+           int t = a.compare(a.length() - 1, 1, s);
            a.erase();
        ],[
            with_included_string=no