Skip to content

Commit

Permalink
AntelopeIOGH-1461 Removed unneeded explicit type
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Nov 13, 2023
1 parent 7b43a4a commit 3ccf023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/libfc/src/variant.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ blob variant::as_blob()const
// fc version of base64_decode allows for extra `=` at the end of the string.
// Other base64 decoders will not accept the extra `=`.
std::vector<char> b64 = base64_decode( str );
return blob( { std::move(b64) } );
return { std::move(b64) };
} catch(const std::exception&) {
// unable to decode, return the raw chars
}
Expand Down

0 comments on commit 3ccf023

Please sign in to comment.