Fix warnings.

This commit is contained in:
Victor Zverovich 2013-01-13 09:47:01 -08:00
parent 07ad14efdb
commit f87c6ba358

View File

@ -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_;
}
};