File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -622,25 +622,25 @@ int main()
622
622
template<class... Args>
623
623
string format(format_string<Args...> fmt, const Args&... args)
624
624
{
625
- return vformat(fmt.str , make_format_args(args...));
625
+ return vformat(fmt.get() , make_format_args(args...));
626
626
}
627
627
628
628
template<class... Args>
629
629
wstring format(wformat_string<Args...> fmt, const Args&... args)
630
630
{
631
- return vformat(fmt.str , make_wformat_args(args...));
631
+ return vformat(fmt.get() , make_wformat_args(args...));
632
632
}
633
633
634
634
template<class... Args>
635
635
string format(const locale& loc, format_string<Args...> fmt, const Args&... args)
636
636
{
637
- return vformat(loc, fmt.str , make_format_args(args...));
637
+ return vformat(loc, fmt.get() , make_format_args(args...));
638
638
}
639
639
640
640
template<class... Args>
641
641
wstring format(const locale& loc, wformat_string<Args...> fmt, const Args&... args)
642
642
{
643
- return vformat(loc, fmt.str , make_wformat_args(args...));
643
+ return vformat(loc, fmt.get() , make_wformat_args(args...));
644
644
}
645
645
```
646
646
* string[ link /reference/string/basic_string.md]
You can’t perform that action at this time.
0 commit comments