mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-11-09 05:43:53 +01:00
discard partial
This commit is contained in:
1 parent
25812cb291
commit
1cc7690f9a
2 files changed
+3
-1
No files matched your search
@@ -73,6 +73,8 @@ template <> FrameDiscardPolicy StringTo(const std::string &arg) {
|
||||
return FrameDiscardPolicy::NoDiscard;
|
||||
if (arg == "discard")
|
||||
return FrameDiscardPolicy::Discard;
|
||||
if (arg == "discardpartial")
|
||||
return FrameDiscardPolicy::DiscardPartial;
|
||||
throw std::runtime_error("Could not decode frame discard policy from: \"" + arg + "\"");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user