https://svn.lrde.epita.fr/svn/oln/trunk/olena
Index: ChangeLog
from Roland Levillain <roland(a)lrde.epita.fr>
Fix virtual types of oln::internal::point_nd and
oln::internal::dpoint_nd.
* oln/core/internal/point_nd.hh
(oln::vtypes< internal::point_nd<E> >::vec_t)
(oln::vtypes< internal::point_nd<E> >::psite_type): Remove
typedefs.
(oln::vtypes< internal::point_nd<E> >::vec_type): Fix typedef.
* oln/core/internal/point_nd.hh
(oln::vtypes< internal::point_nd<E> >::vec_t): Remove typedef.
(oln::vtypes< internal::point_nd<E> >::vec_type): Fix typedef.
dpoint_nd.hh | 4 +---
point_nd.hh | 7 +------
2 files changed, 2 insertions(+), 9 deletions(-)
Index: oln/core/internal/point_nd.hh
--- oln/core/internal/point_nd.hh (revision 707)
+++ oln/core/internal/point_nd.hh (working copy)
@@ -74,13 +74,8 @@
private:
typedef oln_dim(E) dim_t;
typedef oln_coord(E) coord_t;
- typedef xtd::vec<mlc_value(dim_t), coord_t> vec_t;
public:
-
- typedef double psite_type;
-
- typedef typename vec_t::self_type vec_type;
- // typedef xtd::vec<mlc_value(dim_t), coord_t> vec_type;
+ typedef xtd::vec<mlc_value(dim_t), coord_t> vec_type;
};
Index: oln/core/internal/dpoint_nd.hh
--- oln/core/internal/dpoint_nd.hh (revision 707)
+++ oln/core/internal/dpoint_nd.hh (working copy)
@@ -57,10 +57,8 @@
private:
typedef oln_dim(E) dim_t;
typedef oln_coord(E) coord_t;
- typedef xtd::vec<mlc_value(dim_t), coord_t> vec_t;
public:
- typedef typename vec_t::self_type vec_type;
- // typedef xtd::vec<mlc_value(dim_t), coord_t> vec_type;
+ typedef xtd::vec<mlc_value(dim_t), coord_t> vec_type;
};