diff options
-rw-r--r-- | odb/mssql/buildfile | 2 | ||||
-rw-r--r-- | odb/mssql/statement-cache.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/odb/mssql/buildfile b/odb/mssql/buildfile index 28c4b8f..8475455 100644 --- a/odb/mssql/buildfile +++ b/odb/mssql/buildfile @@ -110,7 +110,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/mssql/statement-cache.hxx b/odb/mssql/statement-cache.hxx index 69325c5..2bc0b11 100644 --- a/odb/mssql/statement-cache.hxx +++ b/odb/mssql/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_mssql>::statements_type& |