Make time specification in profiles optional

Provide a nicer error message when forgetting version and camera parameters
This commit is contained in:
Alexander Bock
2020-06-18 22:17:12 +02:00
parent b59b6cc2d2
commit 12daf94cb5
2 changed files with 23 additions and 2 deletions
+3 -2
View File
@@ -98,10 +98,11 @@ struct ProfileData {
struct Time {
enum class Type {
Absolute,
Relative
Relative,
None
};
Type type;
Type type = Type::None;
std::string time;
};
Time time;