Mark StringView and StringViewLiteral as final.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
57f2d15723
commit
e52b824a51
@ -42,7 +42,7 @@ static uint32_t constexpr Hash(char const* input) {
|
||||
static int constexpr CalcLength(const char* str) { return *str ? 1 + CalcLength(str + 1) : 0; }
|
||||
|
||||
namespace ArbUt {
|
||||
class StringView : public BasicStringView {
|
||||
class StringView final : public BasicStringView {
|
||||
private:
|
||||
static __ConstStringCharHolder* __emptyString;
|
||||
static inline __ConstStringCharHolder* GetEmptyString() { return __emptyString; }
|
||||
|
@ -6,7 +6,7 @@
|
||||
#include "StringView.hpp"
|
||||
|
||||
namespace ArbUt {
|
||||
class StringViewLiteral : public BasicStringView {
|
||||
class StringViewLiteral final : public BasicStringView {
|
||||
private:
|
||||
const char* _str;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user