]> git.sesse.net Git - nageru/blobdiff - futatabi/flags.h
Fix a dangling reference (found by GCC 14).
[nageru] / futatabi / flags.h
index 88379b539ef7a4174489f57b56652de814268a26..80571de493a53e873e0d7f45720792fc42ff1557 100644 (file)
@@ -3,7 +3,9 @@
 
 #include "defs.h"
 
+#include <stdint.h>
 #include <string>
+#include <unordered_map>
 
 struct Flags {
        int width = 1280, height = 720;
@@ -20,6 +22,7 @@ struct Flags {
        double cue_out_point_padding_seconds = 0.0;  // Can be changed in the menus.
        bool cue_out_point_padding_set = false;
        std::string midi_mapping_filename;  // Empty for none.
+       std::unordered_map<unsigned, std::string> source_labels;
 };
 extern Flags global_flags;