From 14f56887ea94ebf077c80398bde7814c6211d9f3 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 24 Apr 2005 22:41:21 +0000 Subject: Some C++ compilers don't support the 'not' keyword, it seems svn-id: r17793 --- common/config-file.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/config-file.cpp b/common/config-file.cpp index daaf068955..bec91a789e 100644 --- a/common/config-file.cpp +++ b/common/config-file.cpp @@ -173,7 +173,7 @@ bool ConfigFile::saveToFile(const String &filename) { bool ConfigFile::saveToStream(WriteStream &stream) { for (List
::iterator i = _sections.begin(); i != _sections.end(); ++i) { // Write out the section comment, if any - if (not i->comment.isEmpty()) { + if (! i->comment.isEmpty()) { stream.writeString(i->comment); } @@ -186,7 +186,7 @@ bool ConfigFile::saveToStream(WriteStream &stream) { // Write out the key/value pairs for (List::iterator kv = i->keys.begin(); kv != i->keys.end(); ++kv) { // Write out the comment, if any - if (not kv->comment.isEmpty()) { + if (! kv->comment.isEmpty()) { stream.writeString(kv->comment); } // Write out the key/value pair -- cgit v1.2.3