diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-12-13 11:38:49 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-12-13 11:38:49 +0200 |
commit | 3fd22b7b86ebad8fbd4b66da3d63e6d9c1ca829c (patch) | |
tree | ebd661aba341b0d478cb3e359665ccb4bba6a81a /common/lazy-ptr/test.hxx | |
parent | b0badbfd0fdbbadef588a2b518cbfb49f34bf9fd (diff) |
Detect TR1 <memory> availability
Also use the wrapper header from libodb.
Diffstat (limited to 'common/lazy-ptr/test.hxx')
-rw-r--r-- | common/lazy-ptr/test.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/common/lazy-ptr/test.hxx b/common/lazy-ptr/test.hxx index 8b75c46..9c671c1 100644 --- a/common/lazy-ptr/test.hxx +++ b/common/lazy-ptr/test.hxx @@ -6,17 +6,18 @@ #ifndef TEST_HXX #define TEST_HXX +#include <common/config.hxx> // HAVE_TR1_MEMORY + #include <vector> #include <string> #include <memory> -#include "tr1-memory.hxx" - #include <odb/core.hxx> #include <odb/lazy-ptr.hxx> #ifdef HAVE_TR1_MEMORY -#include <odb/tr1/lazy-ptr.hxx> +# include <odb/tr1/memory.hxx> +# include <odb/tr1/lazy-ptr.hxx> #endif // Raw pointer. |