summaryrefslogtreecommitdiff
path: root/lout
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-10-30 18:23:03 +0100
committerjcid <devnull@localhost>2008-10-30 18:23:03 +0100
commit3309d5e5590c510f8518cb2cce4cd555df2211e5 (patch)
treed99f6109ee7cb6049b55a1dc7cd82eab53d4c668 /lout
parente1cb964a74ed9477716ea200aefb530771512ec0 (diff)
- Reduced warnings with gcc-4.3.
Diffstat (limited to 'lout')
-rw-r--r--lout/object.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lout/object.cc b/lout/object.cc
index 7da124fa..9e36e20c 100644
--- a/lout/object.cc
+++ b/lout/object.cc
@@ -251,7 +251,7 @@ bool PairBase::equals(Object *other)
return
// Identical?
- this == other ||
+ this == other || (
(// Both first parts are NULL, ...
(first == NULL && otherPair->first == NULL) ||
// ... or both first parts are not NULL and equal
@@ -260,7 +260,7 @@ bool PairBase::equals(Object *other)
// Same with second part.
((second == NULL && otherPair->second == NULL) ||
(second != NULL && otherPair->second != NULL
- && second->equals (otherPair->second)));
+ && second->equals (otherPair->second))));
}
int PairBase::hashValue()