From fd7583acc0adcce2fa63d21755091ddb3077aa14 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Sat, 1 Jul 2023 11:06:22 -0700 Subject: Fixed potential memory corruption/race condition. --- src/tests/utf.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tests') diff --git a/src/tests/utf.cpp b/src/tests/utf.cpp index 40d4194..ef7297d 100644 --- a/src/tests/utf.cpp +++ b/src/tests/utf.cpp @@ -7,6 +7,7 @@ using namespace Bu; int main() { + sio << "Code: " << Bu::__calcHashCode( Bu::UtfString() ) << sio.nl; sio << "Code: " << Bu::__calcHashCode( Bu::UtfString("Hello there") ) << sio.nl; -- cgit v1.2.3