Skip to content

Commit 212586c

Browse files
author
Julien Dehos
committed
fix a wrong parameter in a string constructor
1 parent 6f5e9f3 commit 212586c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/curl_easy_info.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ namespace curl {
5252
curl_easy_info(char *pointer) : _pointer(pointer) {}
5353
std::string get() const {
5454
if (_pointer == nullptr) {
55-
return std::string('');
55+
return std::string("");
5656
}
5757
return std::string(_pointer);
5858
}
@@ -88,4 +88,4 @@ namespace curl {
8888
};
8989
}
9090

91-
#endif /* curl_easy_info_h */
91+
#endif /* curl_easy_info_h */

0 commit comments

Comments
 (0)