fixed some catch.hpp includes in the tests, fixed a deprecated event cast in appleevents.mm

This commit is contained in:
Ben Scott
2015-12-20 02:05:04 -05:00
committed by Celtic Minstrel
parent df54ee1757
commit a44b298012
5 changed files with 5 additions and 5 deletions

View File

@@ -54,7 +54,7 @@ void set_up_apple_events(int, char*[]) {
-(NSApplicationTerminateReply)applicationShouldTerminate: (NSApplication*)sender {
(void) sender; // Suppress "unused parameter" warning
All_Done = verify_restore_quit("save-quit");
return All_Done;
return All_Done ? NSTerminateNow : NSTerminateCancel;
}
@end

View File

@@ -6,7 +6,7 @@
//
//
#include <catch.hpp>
#include "catch.hpp"
#include "scenario.hpp"
#include "creature.hpp"
#include "creatlist.hpp"

View File

@@ -6,7 +6,7 @@
//
//
#include <catch.hpp>
#include "catch.hpp"
#include "item.hpp"
#include "oldstructs.hpp"
#include "spell.hpp"

View File

@@ -6,7 +6,7 @@
//
//
#include <catch.hpp>
#include "catch.hpp"
#include "creature.hpp"
#include "oldstructs.hpp"

View File

@@ -6,7 +6,7 @@
//
//
#include <catch.hpp>
#include "catch.hpp"
#include "terrain.hpp"
#include "oldstructs.hpp"