Skip to content

Commit 877fdc0

Browse files
committed
Reverting single String type change
1 parent 253be8e commit 877fdc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/BLE/src/BLEEddystoneURL.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ int BLEEddystoneURL::setSmartURL(String url) {
249249

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

0 commit comments

Comments
 (0)