summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-07-17 09:14:29 -0400
committerDavid Robillard <d@drobilla.net>2024-07-17 09:14:29 -0400
commit3408d25a7a1042adc8c9387ea18ee06ba8ec0536 (patch)
treeb3b1469db5e355aab2a7fb688db78dc3cd03838f
parent9194d865a11ce92aa920557d618c1daeec663e9e (diff)
downloadpatchage-3408d25a7a1042adc8c9387ea18ee06ba8ec0536.tar.gz
patchage-3408d25a7a1042adc8c9387ea18ee06ba8ec0536.tar.bz2
patchage-3408d25a7a1042adc8c9387ea18ee06ba8ec0536.zip
Remove redundant inline specifier
-rw-r--r--.clang-tidy1
-rw-r--r--src/UIFile.hpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 7a601ab..06983bb 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -53,7 +53,6 @@ Checks: >
-readability-function-cognitive-complexity,
-readability-identifier-length,
-readability-implicit-bool-conversion,
- -readability-redundant-inline-specifier,
FormatStyle: file
WarningsAsErrors: '*'
HeaderFilterRegex: '.*'
diff --git a/src/UIFile.hpp b/src/UIFile.hpp
index 38a46b1..cd07aad 100644
--- a/src/UIFile.hpp
+++ b/src/UIFile.hpp
@@ -24,7 +24,7 @@ namespace patchage {
class UIFile
{
public:
- inline static bool is_readable(const std::string& filename)
+ static bool is_readable(const std::string& filename)
{
std::ifstream fs(filename.c_str());
const bool fail = fs.fail();