File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ set(OPENTIME_HEADER_FILES
1313add_library (opentime ${OTIO_SHARED_OR_STATIC_LIB}
1414 errorStatus.cpp
1515 rationalTime.cpp
16- timeRange.cpp
1716 ${OPENTIME_HEADER_FILES} )
1817
1918add_library (OTIO::opentime ALIAS opentime )
Original file line number Diff line number Diff line change 22// Copyright Contributors to the OpenTimelineIO project
33
44#include " opentime/timeRange.h"
5-
6- namespace opentime { namespace OPENTIME_VERSION_NS {
7-
8- const double DEFAULT_EPSILON_s = 1.0 / (2 * 192000.0 );
9-
10- }} // namespace opentime::OPENTIME_VERSION_NS
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ namespace opentime { namespace OPENTIME_VERSION_NS {
1616// / a resolution of half a frame at 192kHz. The value can be changed in the future if
1717// / necessary, due to higher sampling rates or some other kind of numeric tolerance
1818// / detected in the library.
19- OPENTIME_API extern const double DEFAULT_EPSILON_s;
19+ inline constexpr double DEFAULT_EPSILON_s = 1.0 / ( 2 * 192000.0 ) ;
2020
2121// / @brief This class represents a time range defined by a start time and duration.
2222// /
You can’t perform that action at this time.
0 commit comments