Skip to content

Commit

Permalink
common/TextTable: define endrow
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
tchaikov committed Oct 22, 2018
1 parent 98fc7eb commit 3ac8c8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/TextTable.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class TextTable {
*/

struct endrow_t {};
static endrow_t endrow;
static constexpr endrow_t endrow{};

/**
* Implements TextTable::endrow
Expand Down

0 comments on commit 3ac8c8d

Please sign in to comment.