diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-10-09 13:57:26 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-10-09 14:19:06 +0300 |
commit | d718072ad2b2857d4095e0e65b37778b0dc2cd91 (patch) | |
tree | 4d33daae7d1d1dbebfad33f267653691169aab19 | |
parent | 1541fb6f0cf4d9b66ab48029b226c83ee62233c6 (diff) |
Add workaround for 'private field is not used' Clang warning
-rw-r--r-- | odb/oracle/buildfile | 2 | ||||
-rw-r--r-- | odb/oracle/statement-cache.hxx | 2 |
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& |