mirror of
https://github.com/kyleneideck/BackgroundMusic
synced 2024-11-10 06:34:22 +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
|
// BGM_TestUtils.h
|
||||||
// SharedSource
|
// SharedSource
|
||||||
//
|
//
|
||||||
// Copyright © 2016 Kyle Neideck
|
// Copyright © 2016, 2021 Kyle Neideck
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef __SharedSource__BGM_TestUtils__
|
#ifndef __SharedSource__BGM_TestUtils__
|
||||||
|
@ -37,6 +37,7 @@
|
||||||
template<typename ExpectedException>
|
template<typename ExpectedException>
|
||||||
void BGMShouldThrow(XCTestCase* self, const std::function<void()>& f)
|
void BGMShouldThrow(XCTestCase* self, const std::function<void()>& f)
|
||||||
{
|
{
|
||||||
|
#pragma unused (self)
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
f();
|
f();
|
||||||
|
|
Loading…
Reference in a new issue