From a6920276486e9192fef7c85e1850d8eff3a9e421 Mon Sep 17 00:00:00 2001 From: Palana Date: Sun, 15 Dec 2013 02:43:37 +0100 Subject: [PATCH] changed osx test for arc compatibility --- test/osx/test.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/osx/test.mm b/test/osx/test.mm index 8b0f1913e..f3ea6bfc9 100644 --- a/test/osx/test.mm +++ b/test/osx/test.mm @@ -131,7 +131,7 @@ static NSWindow *CreateTestWindow() static void test() { try { - NSWindow *win = CreateTestWindow(); + static NSWindow *win = CreateTestWindow(); if (!win) throw "Couldn't create main window";