diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-11-10 16:22:17 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-11-10 16:22:17 +0200 |
commit | 84adbc0a134998b6c50bd951d3805138345530f7 (patch) | |
tree | fbdf0b489260a5347a37df914c77c66880cedc06 /libbutl/char-scanner.mxx | |
parent | 8f4b6a0680744d656eaa60a0908552274e2a4a9b (diff) |
Reorder inline functions to make MinGW GCC happy
Diffstat (limited to 'libbutl/char-scanner.mxx')
-rw-r--r-- | libbutl/char-scanner.mxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/libbutl/char-scanner.mxx b/libbutl/char-scanner.mxx index 9bfdeec..3947a05 100644 --- a/libbutl/char-scanner.mxx +++ b/libbutl/char-scanner.mxx @@ -118,10 +118,18 @@ LIBBUTL_MODEXPORT namespace butl // public: void - save_start (std::string&); + save_start (std::string& b) + { + assert (save_ == nullptr); + save_ = &b; + } void - save_stop (); + save_stop () + { + assert (save_ != nullptr); + save_ = nullptr; + } struct save_guard { |