mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
Some C++ compilers don't support the 'not' keyword, it seems
svn-id: r17793
This commit is contained in:
parent
da5f819cf9
commit
14f56887ea
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user