mirror of
https://github.com/RPCS3/yaml-cpp.git
synced 2026-07-23 12:15:28 -04:00
Modernize: Use "using" instead of "typedef" (#754)
This commit is contained in:
committed by
Jesse Beder
parent
0fddd1e5bd
commit
6e87b37034
+1
-1
@@ -66,7 +66,7 @@ static const unsigned char decoding[] = {
|
||||
};
|
||||
|
||||
std::vector<unsigned char> DecodeBase64(const std::string &input) {
|
||||
typedef std::vector<unsigned char> ret_type;
|
||||
using ret_type = std::vector<unsigned char>;
|
||||
if (input.empty())
|
||||
return ret_type();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user