summaryrefslogtreecommitdiff
path: root/tests/test5.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test5.cpp')
-rw-r--r--tests/test5.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test5.cpp b/tests/test5.cpp
index e67c4ad..6f550b4 100644
--- a/tests/test5.cpp
+++ b/tests/test5.cpp
@@ -44,6 +44,6 @@ int main( ) {
cout << "end." << endl;
} catch( sql_error& e ) {
- cerr << e.msg( ) << ": " << e.query( ) << endl;
+ cerr << e.what( ) << ": " << e.query( ) << endl;
}
}