Clean up the query interface serialization

This commit is contained in:
Robbert van der Helm
2020-12-05 12:05:13 +01:00
parent 42f3639e93
commit 8f152c7af5
3 changed files with 16 additions and 9 deletions
+1 -1
View File
@@ -138,7 +138,7 @@ class Configuration {
s.ext(group, bitsery::ext::StdOptional(),
[](S& s, auto& v) { s.text1b(v, 4096); });
s.ext(matched_file, bitsery::ext::StdOptional(),
[](S& s, auto& v) { s.ext(v, bitsery::ext::BoostPath()); });
[](S& s, auto& v) { s.ext(v, bitsery::ext::BoostPath{}); });
s.ext(matched_pattern, bitsery::ext::StdOptional(),
[](S& s, auto& v) { s.text1b(v, 4096); });