diff --git a/README.md b/README.md index 93c0a13..8cd611d 100644 --- a/README.md +++ b/README.md @@ -1091,7 +1091,7 @@ namespace toml template<> struct from { - ext::foo from_toml(const value& v) + static ext::foo from_toml(const value& v) { ext::foo f; f.a = find(v, "a"); @@ -1131,7 +1131,7 @@ template<> struct from { template class M, template class A> - ext::foo from_toml(const basic_value& v) + static ext::foo from_toml(const basic_value& v) { ext::foo f; f.a = find(v, "a"); @@ -1187,7 +1187,7 @@ namespace toml template<> struct into { - toml::table into_toml(const ext::foo& f) + static toml::table into_toml(const ext::foo& f) { return toml::table{{"a", f.a}, {"b", f.b}, {"c", f.c}}; }