# HG changeset patch # User Sebastien Jodogne # Date 1592852859 -7200 # Node ID 60be4627ae5220c341f0bd0bbf1f1d5586633047 # Parent 121d01aa328ee44952f9a690bbca7070eaffe3f7 fix for msvc2008 diff -r 121d01aa328e -r 60be4627ae52 Framework/Toolbox/SortedFrames.cpp --- a/Framework/Toolbox/SortedFrames.cpp Mon Jun 22 17:46:40 2020 +0200 +++ b/Framework/Toolbox/SortedFrames.cpp Mon Jun 22 21:07:39 2020 +0200 @@ -81,7 +81,7 @@ SortedFrames::Frame::Frame(const Instance& instance, unsigned int frameIndex) : - instance_(instance), + instance_(&instance), frameIndex_(frameIndex) { if (frameIndex >= instance.GetNumberOfFrames()) diff -r 121d01aa328e -r 60be4627ae52 Framework/Toolbox/SortedFrames.h --- a/Framework/Toolbox/SortedFrames.h Mon Jun 22 17:46:40 2020 +0200 +++ b/Framework/Toolbox/SortedFrames.h Mon Jun 22 21:07:39 2020 +0200 @@ -69,7 +69,7 @@ struct Frame { private: - const Instance& instance_; + const Instance* instance_; unsigned int frameIndex_; public: @@ -78,7 +78,7 @@ const Instance& GetInstance() const { - return instance_; + return *instance_; } unsigned int GetFrameIndex() const