Skip to content

Commit 6335889

Browse files
committed
Change Sprintf back
1 parent adfaf9a commit 6335889

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/fluid/string/printf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ void Fprintf(std::ostream& out, const char* fmt, const Args&... args) {
8484
}
8585

8686
template <typename... Args>
87-
std::string Sprintf(const char* fmt = "", const Args&... args) {
87+
std::string Sprintf(const char* fmt, const Args&... args) {
8888
std::ostringstream oss;
8989
Fprintf(oss, fmt, args...);
9090
return oss.str();

0 commit comments

Comments
 (0)