summaryrefslogtreecommitdiff
path: root/include/connectivity
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-23 10:17:35 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-23 10:18:29 +0100
commit047d9818dd77046ae4de266f5f5fed221ecf0557 (patch)
tree245cfed3c7a322fe3d40313acf42f6b9a6aa45cb /include/connectivity
parent38e247046ec38cdab0f7d56614a183dcfc49389c (diff)
Catch accidental mis-conversions from pointer to bool
Change-Id: I3f6ec3bd951d45b973880be1ae19e167c5e99d20
Diffstat (limited to 'include/connectivity')
-rw-r--r--include/connectivity/FValue.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/connectivity/FValue.hxx b/include/connectivity/FValue.hxx
index db1b28931217..2408eafeb319 100644
--- a/include/connectivity/FValue.hxx
+++ b/include/connectivity/FValue.hxx
@@ -268,6 +268,9 @@ namespace connectivity
operator=(_rRH);
}
+ // Avoid accidental uses of ORowSetValue(bool const &):
+ template<typename T> ORowSetValue(T const *) = delete;
+
~ORowSetValue()
{
free();