Commit 9451d97f authored by JINMEI Tatuya's avatar JINMEI Tatuya

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


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2806 e5f2f494-b856-4b98-b285-d166d9295462
parent 2e65b200
......@@ -485,8 +485,8 @@ public:
}
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment