Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions lib/framework/FeaturesService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,4 @@ void FeaturesService::addFeature(String feature, bool enabled)
newFeature.enabled = enabled;

userFeatures.push_back(newFeature);
}

void FeaturesService::addFeature(String feature, bool enabled)
{
UserFeature newFeature;
newFeature.feature = feature;
newFeature.enabled = enabled;

userFeatures.push_back(newFeature);
}
}
2 changes: 0 additions & 2 deletions lib/framework/FeaturesService.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ class FeaturesService

void addFeature(String feature, bool enabled);

void addFeature(String feature, bool enabled);

private:
PsychicHttpServer *_server;
std::vector<UserFeature> userFeatures;
Expand Down