summaryrefslogtreecommitdiff
path: root/src/dcp_time.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-21 01:57:06 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-21 01:57:06 +0100
commit76e3325a16cdf6d7220a61e2b5cfdb9c804cc32c (patch)
tree8c1b5e5dc2cec265469a0d8018b6d7396b089432 /src/dcp_time.cc
parent6c3db78c3d20ef064fa2a0ef38e65ca1ae69adb3 (diff)
Use enum class for the things in types.h
Diffstat (limited to 'src/dcp_time.cc')
-rw-r--r--src/dcp_time.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dcp_time.cc b/src/dcp_time.cc
index 025a4859..7a4a67d6 100644
--- a/src/dcp_time.cc
+++ b/src/dcp_time.cc
@@ -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);