We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ea324e commit d073f7eCopy full SHA for d073f7e
src/common.h
@@ -20,7 +20,7 @@ constexpr size_t kMaxThreads = 16;
20
// Safe string class that logs error when index is accessed outside the string.
21
class SafeString : public std::string {
22
public:
23
- SafeString() {}
+ SafeString() = default;
24
SafeString(const std::string &s) : std::string(s) {}
25
const char &operator[](size_t i) const {
26
if (i >= size())
0 commit comments