aboutsummaryrefslogtreecommitdiff
path: root/boost
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-02-18 10:46:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-02-18 10:46:15 +0200
commit07165840b9dced3dc0c48d9ab4a24b54c5cdacfb (patch)
treed2132afc4abe5305e88e558087df68792afe2340 /boost
parentd5fb4a771a99ab543d62ed15f0a0eeefab1762a8 (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.cxx2
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));