diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-02-18 10:46:15 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-02-18 10:46:15 +0200 |
commit | 07165840b9dced3dc0c48d9ab4a24b54c5cdacfb (patch) | |
tree | d2132afc4abe5305e88e558087df68792afe2340 /boost | |
parent | d5fb4a771a99ab543d62ed15f0a0eeefab1762a8 (diff) |
Resolve ambiguity between boost:: and std:: shared_ptr
VC++ 10 already has C++-0x bits in pieces on by default.
Diffstat (limited to 'boost')
-rw-r--r-- | boost/driver.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/boost/driver.cxx b/boost/driver.cxx index 39f9c2a..99ce69a 100644 --- a/boost/driver.cxx +++ b/boost/driver.cxx @@ -21,6 +21,8 @@ using namespace odb::core; int main (int argc, char* argv[]) { + using boost::shared_ptr; + try { auto_ptr<database> db (create_database (argc, argv)); |