Update the docs.

This commit is contained in:
Victor Zverovich
2013-09-04 20:44:13 -07:00
parent 9aa5b7ecd4
commit 3a7962fc1b
4 changed files with 76 additions and 52 deletions
+2 -2
View File
@@ -81,8 +81,8 @@ with an arbitrary action performed when formatting is complete:
.. code-block:: c++
struct PrintError {
void operator()(const fmt::Formatter &f) const {
std::cerr << "Error: " << f.str() << std::endl;
void operator()(const fmt::Writer &w) const {
std::cerr << "Error: " << w.str() << std::endl;
}
};