mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Change error_message from wstring to string
This removes a lot of narrow/wide conversions where a wide string was never used.
This commit is contained in:
parent
3d53c90d4b
commit
30075467b8
9 changed files with 129 additions and 149 deletions
|
@ -480,7 +480,7 @@ public:
|
|||
bool accessDenied()
|
||||
{ return m_access_denied; }
|
||||
|
||||
std::wstring accessDeniedReason()
|
||||
std::string accessDeniedReason()
|
||||
{ return m_access_denied_reason; }
|
||||
|
||||
bool itemdefReceived()
|
||||
|
@ -589,7 +589,7 @@ private:
|
|||
u64 m_map_seed;
|
||||
std::string m_password;
|
||||
bool m_access_denied;
|
||||
std::wstring m_access_denied_reason;
|
||||
std::string m_access_denied_reason;
|
||||
std::queue<ClientEvent> m_client_event_queue;
|
||||
bool m_itemdef_received;
|
||||
bool m_nodedef_received;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue