Commit f87c6ba3 authored by Victor Zverovich's avatar Victor Zverovich

Fix warnings.

parent 07ad14ef
......@@ -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_;
}
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment