non-const write

This commit is contained in:
Christopher Dunn
2015-01-23 07:51:40 -06:00
parent ceef7f5219
commit beb6f35c63
2 changed files with 49 additions and 54 deletions

View File

@@ -55,7 +55,7 @@ public:
/// Write Value into document as configured in sub-class.
/// \return zero on success
/// \throw std::exception possibly, depending on configuration
virtual int write(Value const& root) const = 0;
virtual int write(Value const& root) = 0;
/// Because this Builder is non-virtual, we can safely add
/// methods without a major version bump.