Fix clang-tidy-16 errors
This commit is contained in:
parent
25da9833c2
commit
2d2f684786
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -74,7 +74,9 @@ jobs:
|
||||
|
||||
- name: Install macOS Tools
|
||||
if: runner.os == 'macOS'
|
||||
run: brew install gcovr ninja
|
||||
run: |
|
||||
brew update
|
||||
brew install gcovr ninja
|
||||
|
||||
- name: Install OpenCppCoverage and add to PATH
|
||||
uses: nick-fields/retry@v2
|
||||
@ -208,6 +210,7 @@ jobs:
|
||||
- name: Install macOS Dependencies
|
||||
if: runner.os == 'macOS'
|
||||
run: |
|
||||
brew update
|
||||
brew install llvm
|
||||
echo /usr/local/opt/llvm/bin >> $GITHUB_PATH
|
||||
|
||||
|
@ -70,9 +70,12 @@ struct ModifiersState
|
||||
// Global Variables
|
||||
////////////////////////////////////////////////////////////
|
||||
|
||||
namespace
|
||||
{
|
||||
/// Share 'modifiers' state with all windows to correctly fire pressed/released events
|
||||
static ModifiersState state;
|
||||
static BOOL isStateInitialized = NO;
|
||||
ModifiersState state;
|
||||
BOOL isStateInitialized = NO;
|
||||
}
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
|
@ -14,7 +14,9 @@ static_assert(!std::is_copy_assignable_v<sf::FileInputStream>);
|
||||
static_assert(std::is_nothrow_move_constructible_v<sf::FileInputStream>);
|
||||
static_assert(std::is_nothrow_move_assignable_v<sf::FileInputStream>);
|
||||
|
||||
static std::string getTemporaryFilePath()
|
||||
namespace
|
||||
{
|
||||
std::string getTemporaryFilePath()
|
||||
{
|
||||
static int counter = 0;
|
||||
|
||||
@ -63,6 +65,7 @@ public:
|
||||
return m_path;
|
||||
}
|
||||
};
|
||||
} // namespace
|
||||
|
||||
TEST_CASE("[System] sf::FileInputStream")
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user