From e53efd9669cdb50a9e8d31c06b184cde26378ccb Mon Sep 17 00:00:00 2001
From: Jakob Riedle <jakob.riedle@gmx.de>
Date: Sun, 18 Apr 2021 21:12:32 +0200
Subject: [PATCH] Fixed compilation bug with u8_string fallback

---
 include/tinyutf8/tinyutf8.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/include/tinyutf8/tinyutf8.h b/include/tinyutf8/tinyutf8.h
index 6e10d02..b8b860b 100644
--- a/include/tinyutf8/tinyutf8.h
+++ b/include/tinyutf8/tinyutf8.h
@@ -114,6 +114,7 @@ namespace tiny_utf8
 	
 	//! Typedef of string (data type: char)
 	using string = basic_string<char32_t, char>;
+	using utf8_string = basic_string<char32_t, char>; // For backwards compatibility
 	
 	//! Typedef of u8string (data type char8_t)
 	#if __cplusplus > 201703L
@@ -123,9 +124,6 @@ namespace tiny_utf8
 			using u8string = utf8_string;
 		#endif
 	#endif
-
-	//! Typedef of utf8_string (data type: char)
-	using utf8_string = basic_string<char32_t, char>; // For backwards compatibility
 	
 	//! Implementation Detail
 	namespace tiny_utf8_detail