Fix compilation conflict on XCode 26

This commit is contained in:
Georg Hagen
2025-10-14 15:47:48 +02:00
parent 5a0dbf4c70
commit 2c3578b19a
2 changed files with 14 additions and 2 deletions

View 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()); }
}