Merge pull request #532 from AnisB/remove_std_namespace

Removing problematic using namespace in a header file
This commit is contained in:
Syoyo Fujita
2026-03-03 02:59:00 +09:00
committed by GitHub

View File

@@ -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 += ' ';