File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
storage/src/include/firebase Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -108,12 +108,16 @@ class Storage {
108
108
// / @brief Get a StorageReference for the specified path.
109
109
StorageReference GetReference (const char * path) const ;
110
110
// / @brief Get a StorageReference for the specified path.
111
- StorageReference GetReference (const std::string& path) const ;
111
+ StorageReference GetReference (const std::string& path) const {
112
+ return GetReference (path.c_str ());
113
+ }
112
114
113
115
// / @brief Get a StorageReference for the provided URL.
114
116
StorageReference GetReferenceFromUrl (const char * url) const ;
115
117
// / @brief Get a StorageReference for the provided URL.
116
- StorageReference GetReferenceFromUrl (const std::string& url) const ;
118
+ StorageReference GetReferenceFromUrl (const std::string& url) const {
119
+ return GetReferenceFromUrl (url.c_str ());
120
+ }
117
121
118
122
// / @brief Returns the maximum time in seconds to retry a download if a
119
123
// / failure occurs.
You can’t perform that action at this time.
0 commit comments