]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
CompatSet.h: Remove unneeded constuctor
authorMichal Jarzabek <stiopa@gmail.com>
Sat, 14 May 2016 17:25:25 +0000 (18:25 +0100)
committerMichal Jarzabek <stiopa@gmail.com>
Sun, 15 May 2016 06:27:21 +0000 (07:27 +0100)
We have a constuctor taking a std::string so there is no need for
the constuctor taking char*.

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
src/include/CompatSet.h

index 43c1ec1603b944ca27591444c6208ddc1a8e5e14..c6d8ffeb9129a4a96844dbe9b2ea4a40159d8ebe 100644 (file)
@@ -25,7 +25,6 @@ struct CompatSet {
     uint64_t id;
     string name;
 
-    Feature(uint64_t _id, const char *_name) : id(_id), name(_name) {}
     Feature(uint64_t _id, const string& _name) : id(_id), name(_name) {}
   };