Use enum class for the things in types.h
[libdcp.git] / src / dcp_time.cc
index 025a48590ed51aafcc4ff02c8670e0997a3e4724..7a4a67d667ead2ad0a0559f94e210da12c5163eb 100644 (file)
@@ -325,7 +325,7 @@ Time::as_string (Standard standard) const
 {
        char buffer[64];
 
-       if (standard == SMPTE) {
+       if (standard == Standard::SMPTE) {
                snprintf (buffer, sizeof(buffer), "%02d:%02d:%02d:%02d", h, m, s, e);
        } else {
                snprintf (buffer, sizeof(buffer), "%02d:%02d:%02d:%03d", h, m, s, e);