scripted-diff: Use ser params operator

-BEGIN VERIFY SCRIPT-
 sed -i 's|WithParams(\([a-zA-Z:._]\+\), |\1(|g' $( git grep -l WithParams )
-END VERIFY SCRIPT-
This commit is contained in:
MarcoFalke
2023-09-17 13:59:15 +02:00
parent fae9054793
commit ffffb4af83
6 changed files with 37 additions and 37 deletions

View File

@@ -107,7 +107,7 @@ template <typename T, typename P>
DataStream ds{buffer};
T obj;
try {
ds >> WithParams(params, obj);
ds >> params(obj);
} catch (const std::ios_base::failure&) {
return std::nullopt;
}