aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/oracle/buildfile2
-rw-r--r--odb/oracle/statement-cache.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/odb/oracle/buildfile b/odb/oracle/buildfile
index 57137a0..0ce7418 100644
--- a/odb/oracle/buildfile
+++ b/odb/oracle/buildfile
@@ -106,7 +106,7 @@ details/build2/
{
h{*}: install = false
- if ($cxx.class == 'msvc')
+ if ($cxx.target.system == 'win32-msvc')
{
h{config-vc}@./: install = $install_include/details/
h{config-vc-stub}@./: install = $install_include/details/build2/config-vc.h
diff --git a/odb/oracle/statement-cache.hxx b/odb/oracle/statement-cache.hxx
index 41d4a0d..2295f4b 100644
--- a/odb/oracle/statement-cache.hxx
+++ b/odb/oracle/statement-cache.hxx
@@ -31,7 +31,7 @@ namespace odb
public:
statement_cache (connection& conn)
: conn_ (conn),
- version_seq_ (conn.database ().schema_version_sequence ()) {}
+ version_seq_ (conn_.database ().schema_version_sequence ()) {}
template <typename T>
typename object_traits_impl<T, id_oracle>::statements_type&