From 68fc3502a848f1c77eb0482a36a215230a23f901 Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Thu, 4 Jul 2013 23:59:12 +0900 Subject: change the type of Xbyak::Error from enum to a class --- test/sf_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/sf_test.cpp') diff --git a/test/sf_test.cpp b/test/sf_test.cpp index 6541b02..84a903f 100644 --- a/test/sf_test.cpp +++ b/test/sf_test.cpp @@ -328,8 +328,8 @@ int main() testPartial(); testPack(); printf("errNum=%d\n", errNum); -} catch (const Xbyak::Error& e) { - printf("err %s\n", Xbyak::ConvertErrorToString(e)); +} catch (std::exception& e) { + printf("err %s\n", e.what()); return 1; } catch (...) { puts("ERR"); -- cgit v1.2.3