From fbf1ac8b0fb46b5c4094e1c3f5605a2584a66c13 Mon Sep 17 00:00:00 2001 From: Darby Johnston Date: Sat, 17 Aug 2024 19:01:35 -0700 Subject: [PATCH] Refactoring --- lib/toucan/TimelineGraph.cpp | 2 +- lib/toucan/TimelineGraph.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/toucan/TimelineGraph.cpp b/lib/toucan/TimelineGraph.cpp index fab33e9..6886adb 100644 --- a/lib/toucan/TimelineGraph.cpp +++ b/lib/toucan/TimelineGraph.cpp @@ -74,7 +74,7 @@ namespace toucan TimelineGraph::~TimelineGraph() {} - const IMATH_NAMESPACE::V2d& TimelineGraph::getImageSize() const + IMATH_NAMESPACE::V2d TimelineGraph::getImageSize() const { return _imageSize; } diff --git a/lib/toucan/TimelineGraph.h b/lib/toucan/TimelineGraph.h index efdee08..c534020 100644 --- a/lib/toucan/TimelineGraph.h +++ b/lib/toucan/TimelineGraph.h @@ -27,7 +27,7 @@ namespace toucan ~TimelineGraph(); //! Get the timeline image size. - const IMATH_NAMESPACE::V2d& getImageSize() const; + IMATH_NAMESPACE::V2d getImageSize() const; //! Get an image graph for the given time. This function is thread safe. std::shared_ptr exec(const OTIO_NS::RationalTime&) const;