[cgma-dev] r6114 - cgm/trunk/util
    janehu at mcs.anl.gov 
    janehu at mcs.anl.gov
       
    Tue Jan 21 10:28:34 CST 2014
    
    
  
Author: janehu
Date: 2014-01-21 10:28:34 -0600 (Tue, 21 Jan 2014)
New Revision: 6114
Modified:
   cgm/trunk/util/DLIList.hpp
Log:
Check in fix for the Mavericks compile issue reported and solved by David Thompson. Double checked for occshared and static build as well as cubitshared build. All passed make check.
Modified: cgm/trunk/util/DLIList.hpp
===================================================================
--- cgm/trunk/util/DLIList.hpp	2014-01-08 18:21:46 UTC (rev 6113)
+++ cgm/trunk/util/DLIList.hpp	2014-01-21 16:28:34 UTC (rev 6114)
@@ -40,7 +40,7 @@
   friend class DLIListIterator<X>;
 
   typedef typename std::vector<X>::reference reference;
-  typedef typename std::vector<X>::const_reference const_reference;
+  typedef const typename std::vector<X>::value_type& const_reference;
   typedef typename std::vector<X>::pointer pointer;
   typedef typename std::vector<X>::const_pointer const_pointer;
   
    
    
More information about the cgma-dev
mailing list