From d718072ad2b2857d4095e0e65b37778b0dc2cd91 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 9 Oct 2019 13:57:26 +0300 Subject: Add workaround for 'private field is not used' Clang warning --- odb/oracle/buildfile | 2 +- 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 object_traits_impl::statements_type& -- cgit v1.1