diff --git a/reference/format/format.md b/reference/format/format.md index 56ac12599..8745522d7 100644 --- a/reference/format/format.md +++ b/reference/format/format.md @@ -622,25 +622,25 @@ int main() template string format(format_string fmt, const Args&... args) { - return vformat(fmt.str, make_format_args(args...)); + return vformat(fmt.get(), make_format_args(args...)); } template wstring format(wformat_string fmt, const Args&... args) { - return vformat(fmt.str, make_wformat_args(args...)); + return vformat(fmt.get(), make_wformat_args(args...)); } template string format(const locale& loc, format_string fmt, const Args&... args) { - return vformat(loc, fmt.str, make_format_args(args...)); + return vformat(loc, fmt.get(), make_format_args(args...)); } template wstring format(const locale& loc, wformat_string fmt, const Args&... args) { - return vformat(loc, fmt.str, make_wformat_args(args...)); + return vformat(loc, fmt.get(), make_wformat_args(args...)); } ``` * string[link /reference/string/basic_string.md]