[svn] commit: r2806 - /trunk/src/lib/cc/data.h
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Aug 25 23:05:37 UTC 2010
Author: jinmei
Date: Wed Aug 25 23:05:37 2010
New Revision: 2806
Log:
type consistency for ?: values to suppress a compiler error.
should be trivial enough, so skipping review.
also made a minor editorial change: remove a redundant semi-colon after a block
Modified:
trunk/src/lib/cc/data.h
Modified: trunk/src/lib/cc/data.h
==============================================================================
--- trunk/src/lib/cc/data.h (original)
+++ trunk/src/lib/cc/data.h Wed Aug 25 23:05:37 2010
@@ -485,8 +485,8 @@
}
using Element::get;
ConstElementPtr get(const std::string& s) const {
- return (contains(s) ? m.find(s)->second : ElementPtr());
- };
+ return (contains(s) ? m.find(s)->second : ConstElementPtr());
+ }
using Element::set;
void set(const std::string& key, ConstElementPtr value);
using Element::remove;
More information about the bind10-changes
mailing list