mirror of
https://github.com/kyleneideck/BackgroundMusic
synced 2024-09-20 06:21:54 +00:00
Fix test compilation error with Xcode 12.5.
This commit is contained in:
parent
0a87596c1c
commit
169ee92802
1 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
|||
// BGM_TestUtils.h
|
||||
// SharedSource
|
||||
//
|
||||
// Copyright © 2016 Kyle Neideck
|
||||
// Copyright © 2016, 2021 Kyle Neideck
|
||||
//
|
||||
|
||||
#ifndef __SharedSource__BGM_TestUtils__
|
||||
|
@ -37,6 +37,7 @@
|
|||
template<typename ExpectedException>
|
||||
void BGMShouldThrow(XCTestCase* self, const std::function<void()>& f)
|
||||
{
|
||||
#pragma unused (self)
|
||||
try
|
||||
{
|
||||
f();
|
||||
|
|
Loading…
Reference in a new issue