Some C++ compilers don't support the 'not' keyword, it seems

svn-id: r17793
This commit is contained in:
Max Horn 2005-04-24 22:41:21 +00:00
parent da5f819cf9
commit 14f56887ea

View File

@ -173,7 +173,7 @@ bool ConfigFile::saveToFile(const String &filename) {
bool ConfigFile::saveToStream(WriteStream &stream) {
for (List<Section>::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<KeyValue>::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