diff options
Diffstat (limited to 'libbutl/manifest-serializer.ixx')
-rw-r--r-- | libbutl/manifest-serializer.ixx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libbutl/manifest-serializer.ixx b/libbutl/manifest-serializer.ixx new file mode 100644 index 0000000..1108ba1 --- /dev/null +++ b/libbutl/manifest-serializer.ixx @@ -0,0 +1,13 @@ +// file : libbutl/manifest-serializer.ixx -*- C++ -*- +// copyright : Copyright (c) 2014-2018 Code Synthesis Ltd +// license : MIT; see accompanying LICENSE file + +namespace butl +{ + inline void manifest_serializer:: + next (const std::string& n, const std::string& v) + { + if (!filter_ || filter_ (n, v)) + write_next (n, v); + } +} |