From 3408d25a7a1042adc8c9387ea18ee06ba8ec0536 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 17 Jul 2024 09:14:29 -0400 Subject: Remove redundant inline specifier --- .clang-tidy | 1 - src/UIFile.hpp | 2 +- 2 files changed, 1 insertion(+), 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(); -- cgit v1.2.1