Skip to content

Commit 7af300f

Browse files
darbyjohnstonreinecke
authored andcommitted
Fix DEFAULT_EPSILON_s visiblity
Signed-off-by: Darby Johnston <darbyjohnston@yahoo.com>
1 parent db96b64 commit 7af300f

3 files changed

Lines changed: 1 addition & 8 deletions

File tree

src/opentime/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ set(OPENTIME_HEADER_FILES
1313
add_library(opentime ${OTIO_SHARED_OR_STATIC_LIB}
1414
errorStatus.cpp
1515
rationalTime.cpp
16-
timeRange.cpp
1716
${OPENTIME_HEADER_FILES})
1817

1918
add_library(OTIO::opentime ALIAS opentime)

src/opentime/timeRange.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,3 @@
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

src/opentime/timeRange.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
///

0 commit comments

Comments
 (0)