diff options
author | John Hodge <tpg@mutabah.net> | 2016-05-25 23:16:23 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-05-25 23:16:23 +0800 |
commit | dd7680bc0d53f02e4b96b2b3896ebea16742c9bb (patch) | |
tree | 1c28b4c3a9e5493d8f4ca23c28e438497b385c4a /src/include | |
parent | 677cfbea5c6652e96fffd70a2bcd7078a42b4387 (diff) | |
download | mrust-dd7680bc0d53f02e4b96b2b3896ebea16742c9bb.tar.gz |
Parse - Use interpolated macro fragments instead of captured TTs
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/serialise.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/serialise.hpp b/src/include/serialise.hpp index 31abc358..664c5bac 100644 --- a/src/include/serialise.hpp +++ b/src/include/serialise.hpp @@ -13,9 +13,9 @@ class Serialiser; class Deserialiser; #define SERIALISABLE_PROTOTYPES()\ - virtual const char* serialise_tag() const override; \ - virtual void serialise(::Serialiser& s) const override; \ - virtual void deserialise(::Deserialiser& s) override + const char* serialise_tag() const override; \ + void serialise(::Serialiser& s) const override; \ + void deserialise(::Deserialiser& s) override #define SERIALISE_TYPE(method_prefix, tag_str, body, des_body) \ const char* method_prefix serialise_tag() const { return tag_str; } \ void method_prefix serialise(::Serialiser& s) const { body } \ |