Browse Source

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

JINMEI Tatuya 14 years ago
parent
commit
9451d97fe9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/lib/cc/data.h

+ 2 - 2
src/lib/cc/data.h

@@ -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;