[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeedu/kstars/kstars/htmesh
From:       Alexey Khudyakov <alexey.skladnoy () gmail ! com>
Date:       2011-02-27 19:48:55
Message-ID: 20110227194855.0D31FAC8C5 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1222970 by khudyakov:

Remove typedefs

 M  +2 -3      RangeConvex.cpp  
 M  +2 -4      RangeConvex.h  


--- trunk/KDE/kdeedu/kstars/kstars/htmesh/RangeConvex.cpp #1222969:1222970
@@ -183,9 +183,8 @@
 
   size_t i,j,k;
   SpatialVector vi1, vi2;
-  typedef std::vector<size_t> ValueVectorSzt;
-  ValueVectorSzt cornerConstr1, cornerConstr2, removeConstr;
-  ValueVectorSpvec corner;
+  std::vector<size_t> cornerConstr1, cornerConstr2, removeConstr;
+  std::vector<SpatialVector> corner;
   if (constraints_.size() == 1) { // for one constraint, it is itself the BC
     boundingCircle_ = constraints_[0];
     return;
--- trunk/KDE/kdeedu/kstars/kstars/htmesh/RangeConvex.h #1222969:1222970
@@ -192,11 +192,9 @@
 			const SpatialVector & v2, 
 			SpatialVector & v);
 
-  typedef std::vector <SpatialConstraint> ValueVectorSpvecCon;
-  ValueVectorSpvecCon constraints_; // The vector of constraints
+  std::vector<SpatialConstraint> constraints_; // The vector of constraints
   const SpatialIndex * index_;	// A pointer to the index
-  typedef std::vector<SpatialVector> ValueVectorSpvec;
-  ValueVectorSpvec corners_; 
+  std::vector<SpatialVector> corners_; 
   SpatialConstraint boundingCircle_; // For zERO convexes, the bc.
   size_t addlevel_;		// additional levels to calculate
   ValueVectorUint64 * plist_;	// list of partial node ids
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic