summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-10-13 11:39:14 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-10-13 11:39:14 +0200
commit6b070580d71f87f150c35d235fa963f9766c7f5b (patch)
tree3357d2cab48d7241bd9faf88a3407ee7da7d4baa /storage
parentbbda3155c8f78d059a32a828c0f2f0ff91844adb (diff)
Prefer static cast over C style cast
Diffstat (limited to 'storage')
-rw-r--r--storage/src/vespa/storage/distributor/bucketdbupdater.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/src/vespa/storage/distributor/bucketdbupdater.cpp b/storage/src/vespa/storage/distributor/bucketdbupdater.cpp
index 9ce59b257c2..ce7f7afc670 100644
--- a/storage/src/vespa/storage/distributor/bucketdbupdater.cpp
+++ b/storage/src/vespa/storage/distributor/bucketdbupdater.cpp
@@ -51,7 +51,7 @@ BucketDBUpdater::print(std::ostream& out, bool verbose, const std::string& inden
bool
BucketDBUpdater::hasPendingClusterState() const
{
- return (bool)_pendingClusterState;
+ return static_cast<bool>(_pendingClusterState);
}
BucketOwnership