Revert "[clang-tidy] Remove redundant const"
This reverts commit 55d103c491.
This commit is contained in:
@@ -159,7 +159,7 @@ void uuid_unparse_lower (uuid_t uu, char *out)
|
||||
}
|
||||
#endif
|
||||
|
||||
std::string uuid ()
|
||||
const std::string uuid ()
|
||||
{
|
||||
uuid_t id;
|
||||
uuid_generate (id);
|
||||
@@ -198,7 +198,7 @@ std::string uuid ()
|
||||
// - delimiter is the character used to split up projects into subprojects.
|
||||
// - defaults to the period, '.'
|
||||
//
|
||||
std::string indentProject (
|
||||
const std::string indentProject (
|
||||
const std::string& project,
|
||||
const std::string& whitespace /* = " " */,
|
||||
char delimiter /* = '.' */)
|
||||
@@ -226,7 +226,7 @@ std::string indentProject (
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
std::vector <std::string> extractParents (
|
||||
const std::vector <std::string> extractParents (
|
||||
const std::string& project,
|
||||
const char& delimiter /* = '.' */)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user