diff options
author | Albert Astals Cid <aacid@kde.org> | 2019-11-29 15:45:37 +0100 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2019-11-29 15:51:02 +0100 |
commit | 42efcb738cd5924215249c55dd2d0ff7f517d6b5 (patch) | |
tree | b140d1b982744f76bcc7bc1e10977b76fe70690e /goo | |
parent | ec2b036e0029e94183a87471c83577336bbaedda (diff) |
Enable readability-inconsistent-declaration-parameter-name
Diffstat (limited to 'goo')
-rw-r--r-- | goo/gbase64.h | 3 | ||||
-rw-r--r-- | goo/gbasename.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/goo/gbase64.h b/goo/gbase64.h index 06e2e8b6..a876f5b8 100644 --- a/goo/gbase64.h +++ b/goo/gbase64.h @@ -8,6 +8,7 @@ // This file is licensed under the GPLv2 or later // // Copyright (C) 2018 Greg Knight <lyngvi@gmail.com> +// Copyright (C) 2019 Albert Astals Cid <aacid@kde.org> // //======================================================================== @@ -17,7 +18,7 @@ #include <string> #include <vector> -std::string gbase64Encode(const void* input, size_t sz); +std::string gbase64Encode(const void* input, size_t len); inline std::string gbase64Encode(const std::vector<char>& input) { return input.empty() ? std::string() : gbase64Encode(&input[0], input.size()); } diff --git a/goo/gbasename.h b/goo/gbasename.h index 3c5e0065..15270387 100644 --- a/goo/gbasename.h +++ b/goo/gbasename.h @@ -9,6 +9,7 @@ // This file is licensed under the GPLv2 or later // // Copyright (C) 2018 Greg Knight <lyngvi@gmail.com> +// Copyright (C) 2019 Albert Astals Cid <aacid@kde.org> // //======================================================================== @@ -17,6 +18,6 @@ #include <string> -std::string gbasename(const char* input); +std::string gbasename(const char* filename); #endif // ndef GBASENAME_H |