Mark StringView and StringViewLiteral as final.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
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…
Reference in New Issue