Skip to content

Commit d073f7e

Browse files
committed
chore: use default in SafeString
1 parent 5ea324e commit d073f7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ constexpr size_t kMaxThreads = 16;
2020
// Safe string class that logs error when index is accessed outside the string.
2121
class SafeString : public std::string {
2222
public:
23-
SafeString() {}
23+
SafeString() = default;
2424
SafeString(const std::string &s) : std::string(s) {}
2525
const char &operator[](size_t i) const {
2626
if (i >= size())

0 commit comments

Comments
 (0)