diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-07 08:07:00 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-07 08:07:00 +0200 |
commit | 056c73faed12bdd9e7800e3e464c107ca6e6ea84 (patch) | |
tree | 61ad1b536e721fa4578baa28bd1b15faaaf09d67 /qt/oracle/basic/driver.cxx | |
parent | 7aa23d94dd5dd487aa9752aec5944d2d225cafa0 (diff) |
Use auto_ptr instead of raw pointer
Diffstat (limited to 'qt/oracle/basic/driver.cxx')
-rw-r--r-- | qt/oracle/basic/driver.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt/oracle/basic/driver.cxx b/qt/oracle/basic/driver.cxx index f50c45e..8c8f192 100644 --- a/qt/oracle/basic/driver.cxx +++ b/qt/oracle/basic/driver.cxx @@ -67,7 +67,7 @@ main (int argc, char* argv[]) // { transaction t (db->begin ()); - std::auto_ptr<object> p (db->load<object> (o.varchar2)); + auto_ptr<object> p (db->load<object> (o.varchar2)); t.commit (); assert (*p == o); } |