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