Parcourir la 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 il y a 15 ans
Parent
commit
9451d97fe9
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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;