mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
change the std::string check
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@713 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3c8aba3b55
commit
39a450bc3d
@ -1,3 +1,9 @@
|
||||
2000-05-04 Lars Gullik Bjønnes <larsbj@lyx.org>
|
||||
|
||||
* config/lyxinclude.m4 (LYX_CXX_STL_STRING): change the test not
|
||||
to use clear, since we don't depend on this in the code. Add test
|
||||
for string::compare
|
||||
|
||||
2000-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||
|
||||
* (various *.C files): add using std::foo directives to please dec
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user