Index: lib/Object_h.template |
diff --git a/lib/Object_h.template b/lib/Object_h.template |
index 4ccd88bdab0a73fc6ab5bd59f3761881d3766b40..f6ffc57659e148bb7bf19e12bf86ab21c2f9cb97 100644 |
--- a/lib/Object_h.template |
+++ b/lib/Object_h.template |
@@ -15,10 +15,10 @@ namespace {{namespace}} { |
class {{config.lib.export_macro}} Object { |
public: |
- static std::unique_ptr<Object> parse(protocol::Value*, ErrorSupport*); |
+ static std::unique_ptr<Object> fromValue(protocol::Value*, ErrorSupport*); |
~Object(); |
- std::unique_ptr<protocol::DictionaryValue> serialize() const; |
+ std::unique_ptr<protocol::DictionaryValue> toValue() const; |
std::unique_ptr<Object> clone() const; |
private: |
explicit Object(std::unique_ptr<protocol::DictionaryValue>); |