diff options
author | Kefu Chai <kchai@redhat.com> | 2018-10-22 05:38:57 +0200 |
---|---|---|
committer | Kefu Chai <kchai@redhat.com> | 2018-10-22 08:40:03 +0200 |
commit | 3ac8c8dca7689a2c72636855c90c494618063a58 (patch) | |
tree | 349d40b4e963e3723f2e483d67cbcb9ad6899b75 /src/common/TextTable.h | |
parent | Merge PR #24184 into master (diff) | |
download | ceph-3ac8c8dca7689a2c72636855c90c494618063a58.tar.xz ceph-3ac8c8dca7689a2c72636855c90c494618063a58.zip |
common/TextTable: define endrow
otherwise "cmake -DWITH_ASAN=ON -DCMAKE_BUILD_TYPE=Debug" will fail to
build with
/usr/bin/ld: //var/ssd/ceph/build/lib/libceph-common.so.0: undefined
reference to `TextTable::endrow'
Signed-off-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | src/common/TextTable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/TextTable.h b/src/common/TextTable.h index 53ae4b9f38a..2d6ad3cc0b1 100644 --- a/src/common/TextTable.h +++ b/src/common/TextTable.h @@ -134,7 +134,7 @@ public: */ struct endrow_t {}; - static endrow_t endrow; + static constexpr endrow_t endrow{}; /** * Implements TextTable::endrow |