summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-08-17 00:50:33 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-08-17 05:15:19 +0200
commit0842a2707cfca15c0af5eee6ed9d76547a01a7f9 (patch)
treece7169d085189ae960fb49d2a518d274ecb11730 /include
parente7641433c0079a35652893ab15ae6997e3e3a933 (diff)
use bool directly
Change-Id: I314e290b453c55e345559d8abef9b00622493ed3
Diffstat (limited to 'include')
-rw-r--r--include/connectivity/FValue.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/connectivity/FValue.hxx b/include/connectivity/FValue.hxx
index 787785d8199d..db1b28931217 100644
--- a/include/connectivity/FValue.hxx
+++ b/include/connectivity/FValue.hxx
@@ -372,10 +372,10 @@ namespace connectivity
}
bool isBound() const { return m_bBound; }
- void setBound(bool _bBound) { m_bBound = _bBound ? 1 : 0; }
+ void setBound(bool _bBound) { m_bBound = _bBound; }
bool isModified() const { return m_bModified; }
- void setModified(bool _bMod=true) { m_bModified = _bMod ? 1 : 0; }
+ void setModified(bool _bMod=true) { m_bModified = _bMod; }
bool isSigned() const { return m_bSigned; }
void setSigned(bool _bSig=true);