Revert "[clang-tidy] Remove redundant const"

This reverts commit 55d103c491.
This commit is contained in:
Paul Beckingham
2020-12-05 16:18:15 -05:00
parent c43a513158
commit 702af00435
12 changed files with 36 additions and 36 deletions

View File

@@ -89,8 +89,8 @@ public:
void setAsNow (const std::string&);
bool has (const std::string&) const;
std::vector <std::string> all ();
std::string identifier (bool shortened = false) const;
std::string get (const std::string&) const;
const std::string identifier (bool shortened = false) const;
const std::string get (const std::string&) const;
const std::string& get_ref (const std::string&) const;
int get_int (const std::string&) const;
unsigned long get_ulong (const std::string&) const;
@@ -168,8 +168,8 @@ private:
void parseJSON (const json::object*);
void parseLegacy (const std::string&);
void validate_before (const std::string&, const std::string&);
std::string encode (const std::string&) const;
std::string decode (const std::string&) const;
const std::string encode (const std::string&) const;
const std::string decode (const std::string&) const;
public:
float urgency_project () const;