diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2023-03-22 11:20:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-22 11:20:16 +0100 |
commit | c747b4911ed4b1833d7f400d62d1835aba704278 (patch) | |
tree | 55431c188c73055f0e0b0db8fdbb032675cf4431 /src/BlockEntities/SignEntity.h | |
parent | Added small embedded devices to README (diff) | |
download | cuberite-c747b4911ed4b1833d7f400d62d1835aba704278.tar cuberite-c747b4911ed4b1833d7f400d62d1835aba704278.tar.gz cuberite-c747b4911ed4b1833d7f400d62d1835aba704278.tar.bz2 cuberite-c747b4911ed4b1833d7f400d62d1835aba704278.tar.lz cuberite-c747b4911ed4b1833d7f400d62d1835aba704278.tar.xz cuberite-c747b4911ed4b1833d7f400d62d1835aba704278.tar.zst cuberite-c747b4911ed4b1833d7f400d62d1835aba704278.zip |
Diffstat (limited to 'src/BlockEntities/SignEntity.h')
-rw-r--r-- | src/BlockEntities/SignEntity.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/BlockEntities/SignEntity.h b/src/BlockEntities/SignEntity.h index b5abd9f51..4cc69ee22 100644 --- a/src/BlockEntities/SignEntity.h +++ b/src/BlockEntities/SignEntity.h @@ -34,10 +34,10 @@ public: // tolua_export void SetLines(const AString & a_Line1, const AString & a_Line2, const AString & a_Line3, const AString & a_Line4); /** Sets individual line (zero-based index) */ - void SetLine(int a_Index, const AString & a_Line); + void SetLine(size_t a_Index, const AString & a_Line); /** Retrieves individual line (zero-based index) */ - AString GetLine(int a_Index) const; + AString GetLine(size_t a_Index) const; // tolua_end @@ -48,5 +48,5 @@ public: // tolua_export private: - AString m_Line[4]; + std::array<AString, 4> m_Line; } ; // tolua_export |