Skip to content

Commit a77e3df

Browse files
committed
Reverting single String type change
1 parent 14c4827 commit a77e3df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: libraries/BLE/src/BLEEddystoneURL.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ int BLEEddystoneURL::setSmartURL(String url) {
246246

247247
for(uint8_t i = 0; i < 0x0E; ++i){
248248
String std_url(url.c_str());
249-
String std_suffix(EDDYSTONE_URL_SUFFIX[i].c_str());
249+
std::string std_suffix(EDDYSTONE_URL_SUFFIX[i].c_str());
250250
size_t found_pos = std_url.find(std_suffix);
251251
//log_d("check if in url \"%s\" can find suffix \"%s\": found_pos = %d", std_url.c_str(), std_suffix.c_str(), found_pos);
252252
if(found_pos != String::npos){

0 commit comments

Comments
 (0)