From fca5da1b37ff5a9b442542178a6b0f4d0b03ac72 Mon Sep 17 00:00:00 2001 From: benyo-razer Date: Mon, 2 Mar 2026 12:21:07 +0100 Subject: [PATCH] Removing problematic using namespace in a header file --- tiny_gltf.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tiny_gltf.h b/tiny_gltf.h index 3e63385..7e62630 100644 --- a/tiny_gltf.h +++ b/tiny_gltf.h @@ -2451,9 +2451,8 @@ inline unsigned char from_hex(unsigned char ch) { } static const std::string urldecode(const std::string &str) { - using namespace std; - string result; - string::size_type i; + std::string result; + std::string::size_type i; for (i = 0; i < str.size(); ++i) { if (str[i] == '+') { result += ' ';