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 {
108108 // / @brief Get a StorageReference for the specified path.
109109 StorageReference GetReference (const char * path) const ;
110110 // / @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+ }
112114
113115 // / @brief Get a StorageReference for the provided URL.
114116 StorageReference GetReferenceFromUrl (const char * url) const ;
115117 // / @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+ }
117121
118122 // / @brief Returns the maximum time in seconds to retry a download if a
119123 // / failure occurs.
You can’t perform that action at this time.
0 commit comments