mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-10 21:20:07 +00:00
Fix warnings.
This commit is contained in:
parent
07ad14efdb
commit
f87c6ba358
13
format.h
13
format.h
@ -680,13 +680,16 @@ namespace internal {
|
||||
using format::str;
|
||||
using format::c_str;
|
||||
|
||||
struct FormatterProxy {
|
||||
Formatter *formatter;
|
||||
explicit FormatterProxy(Formatter *f) : formatter(f) {}
|
||||
class FormatterProxy {
|
||||
private:
|
||||
Formatter *formatter_;
|
||||
|
||||
public:
|
||||
explicit FormatterProxy(Formatter *f) : formatter_(f) {}
|
||||
|
||||
Formatter *Format() {
|
||||
formatter->CompleteFormatting();
|
||||
return formatter;
|
||||
formatter_->CompleteFormatting();
|
||||
return formatter_;
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user