aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/sf_test.cpp
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2013-07-04 23:59:12 +0900
committerMITSUNARI Shigeo <[email protected]>2013-07-04 23:59:12 +0900
commit68fc3502a848f1c77eb0482a36a215230a23f901 (patch)
tree4190567d36ea7ddc811c4027c8ab63c44cd70457 /test/sf_test.cpp
parentaadf5b1b402e251f5df7c45696679243adcb5798 (diff)
downloadxbyak-68fc3502a848f1c77eb0482a36a215230a23f901.tar.gz
xbyak-68fc3502a848f1c77eb0482a36a215230a23f901.zip
change the type of Xbyak::Error from enum to a class
Diffstat (limited to 'test/sf_test.cpp')
-rw-r--r--test/sf_test.cpp4
1 files changed, 2 insertions, 2 deletions
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");