commit 89e1bd80c88292e78dd1fd01ee7415bff3fa528b
parent 8a1d665d4a02da819bee52f6e644697dfb76cdd6
Author: Dominik Schmidt <dominik@schm1dt.ch>
Date: Sun, 23 Apr 2023 16:55:27 +0200
Import only string from std, avoid overriding std::byte
With newer g++, this resulted in an error that type
byte is ambiguous, since std::byte and the typedef unsigned char byte
conflict.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/base64.cc b/src/base64.cc
@@ -39,7 +39,7 @@
#include <string>
#include <iostream>
-using namespace ::std;
+using ::std::string;
typedef unsigned char byte; /* Byte type */