mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Fix the build
Change-Id: Ied63786e8f73cec805123031c26886295f086691 Signed-off-by: Alexey Polyudov <apolyudov@google.com>
This commit is contained in:
@@ -49,7 +49,7 @@ ByteArray Base64Utils::decode(absl::string_view base64_string) {
|
||||
return ByteArray(decoded_string);
|
||||
}
|
||||
|
||||
Ptr<ByteArray> Base64Utils::decode(const std::string& base64_string) {
|
||||
Ptr<ByteArray> Base64Utils::decode(absl::string_view base64_string) {
|
||||
return decode<Ptr<ByteArray>>(base64_string);
|
||||
}
|
||||
|
||||
|
||||
@@ -16,8 +16,8 @@ class Base64Utils {
|
||||
static std::string encode(ConstPtr<ByteArray> bytes);
|
||||
|
||||
template <typename T>
|
||||
static T decode(const std::string& base64_string);
|
||||
static Ptr<ByteArray> decode(const std::string& base64_string);
|
||||
static T decode(absl::string_view base64_string);
|
||||
static Ptr<ByteArray> decode(absl::string_view base64_string);
|
||||
};
|
||||
|
||||
} // namespace nearby
|
||||
|
||||
Reference in New Issue
Block a user