Skip to content

Commit

Permalink
CompatSet.h: Remove unneeded constuctor
Browse files Browse the repository at this point in the history
We have a constuctor taking a std::string so there is no need for
the constuctor taking char*.

Signed-off-by: Michal Jarzabek <[email protected]>
  • Loading branch information
stiopaa1 committed May 15, 2016
1 parent 62bd3fa commit aa3c3f6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/include/CompatSet.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) {}
};

Expand Down

0 comments on commit aa3c3f6

Please sign in to comment.