diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-23 10:17:35 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-23 10:18:29 +0100 |
commit | 047d9818dd77046ae4de266f5f5fed221ecf0557 (patch) | |
tree | 245cfed3c7a322fe3d40313acf42f6b9a6aa45cb /include/connectivity | |
parent | tdf#89387 Change summing loop to SumSquare method (diff) | |
download | core-047d9818dd77046ae4de266f5f5fed221ecf0557.tar.gz core-047d9818dd77046ae4de266f5f5fed221ecf0557.zip |
Catch accidental mis-conversions from pointer to bool
Change-Id: I3f6ec3bd951d45b973880be1ae19e167c5e99d20
Diffstat (limited to 'include/connectivity')
-rw-r--r-- | include/connectivity/FValue.hxx | 3 |
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(); |