Mark StringView and StringViewLiteral as final.
continuous-integration/drone/push Build is passing

This commit is contained in:
Deukhoofd committed 2020-06-26 16:25:07 +02:00
1 parent 57f2d15723
commit e52b824a51
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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; }
+1 -1
View File
@@ -6,7 +6,7 @@
#include "StringView.hpp"
namespace ArbUt {
class StringViewLiteral : public BasicStringView {
class StringViewLiteral final : public BasicStringView {
private:
const char* _str;