Skip to content

Commit

Permalink
Fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuehlma committed Apr 15, 2020
1 parent 3d54ffe commit b81a303
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/categories.cpp
Expand Up @@ -67,7 +67,7 @@ std::string Categories::Category(int category) const
return "";
}

int Categories::Category(const std::string& category) const
int Categories::Category(const std::string& category)
{
if (category.empty()) {
return 0;
Expand Down
2 changes: 1 addition & 1 deletion src/categories.h
Expand Up @@ -33,7 +33,7 @@ class Categories
Categories();

std::string Category(int category) const;
int Category(const std::string& category) const;
int Category(const std::string& category);

private:
void LoadEITCategories();
Expand Down

0 comments on commit b81a303

Please sign in to comment.