diff Framework/Toolbox/SortedFrames.h @ 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.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