diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-11-29 14:52:55 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-11-30 11:32:07 +0200 |
commit | 7d784a9f398abf114376a958c4eedb7ee4b8ccf0 (patch) | |
tree | 5f72df12d47ab57b76d45d1a82a3a9b8892c4722 /odb/oracle/exceptions.cxx | |
parent | c352bdb8b4ee7a636f71a71a301c181942af2d39 (diff) |
Use sb4 as error code type instead of int in database_exception
Diffstat (limited to 'odb/oracle/exceptions.cxx')
-rw-r--r-- | odb/oracle/exceptions.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/odb/oracle/exceptions.cxx b/odb/oracle/exceptions.cxx index 04928f6..dfb703d 100644 --- a/odb/oracle/exceptions.cxx +++ b/odb/oracle/exceptions.cxx @@ -18,7 +18,7 @@ namespace odb // database_exception::record:: - record (int e, const string& m) + record (sb4 e, const string& m) : error_ (e), message_ (m) { } @@ -34,13 +34,13 @@ namespace odb } database_exception:: - database_exception (int e, const string& m) + database_exception (sb4 e, const string& m) { append (e, m); } void database_exception:: - append (int e, const string& m) + append (sb4 e, const string& m) { records_.push_back (record (e, m)); |