Skip to content

Commit a9e6747

Browse files
committed
Constexpr ctor with assert not possible in C++11
1 parent 243b674 commit a9e6747

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/scorepy/cstring.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class CString
1212
const char* s_;
1313

1414
public:
15-
constexpr CString(const char* s) : s_(s)
15+
CString(const char* s) : s_(s)
1616
{
1717
assert(s_);
1818
}

0 commit comments

Comments
 (0)