Fix compilation conflict on XCode 26
This commit is contained in:
13
openVulkanoCpp/Data/Containers/String.cpp
Normal file
13
openVulkanoCpp/Data/Containers/String.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
#include "String.hpp"
|
||||
#include <utf8.h>
|
||||
|
||||
namespace OpenVulkano
|
||||
{
|
||||
size_t String::CharCount() const { return utf8::distance(m_string.begin(), m_string.end()); }
|
||||
}
|
||||
Reference in New Issue
Block a user