mirror of
https://github.com/fmtlib/fmt.git
synced 2025-08-08 15:14:42 +02:00
Fix warnings.
This commit is contained in:
13
format.h
13
format.h
@@ -680,13 +680,16 @@ namespace internal {
|
|||||||
using format::str;
|
using format::str;
|
||||||
using format::c_str;
|
using format::c_str;
|
||||||
|
|
||||||
struct FormatterProxy {
|
class FormatterProxy {
|
||||||
Formatter *formatter;
|
private:
|
||||||
explicit FormatterProxy(Formatter *f) : formatter(f) {}
|
Formatter *formatter_;
|
||||||
|
|
||||||
|
public:
|
||||||
|
explicit FormatterProxy(Formatter *f) : formatter_(f) {}
|
||||||
|
|
||||||
Formatter *Format() {
|
Formatter *Format() {
|
||||||
formatter->CompleteFormatting();
|
formatter_->CompleteFormatting();
|
||||||
return formatter;
|
return formatter_;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user