diff Framework/Toolbox/SortedFrames.cpp @ 1485:60be4627ae52

fix for msvc2008
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 22 Jun 2020 21:07:39 +0200
parents 5e3cfe87a873
children 5d892f5dd9c4
line wrap: on
line diff
--- 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())