diff --git a/src/include/ranges/lindex.cc.h b/src/include/ranges/lindex.cc.h index 98096ae..c489b91 100644 --- a/src/include/ranges/lindex.cc.h +++ b/src/include/ranges/lindex.cc.h @@ -1,4 +1,7 @@ +#ifndef __cxz_lindex_cc_h__ +#define __cxz_lindex_cc_h__ + #include "lindex.h" namespace CNORXZ @@ -30,3 +33,5 @@ namespace CNORXZ } } + +#endif diff --git a/src/include/ranges/lindex.h b/src/include/ranges/lindex.h index bf0bf44..4688f9a 100644 --- a/src/include/ranges/lindex.h +++ b/src/include/ranges/lindex.h @@ -14,8 +14,8 @@ namespace CNORXZ class LIndex : public Index { public: - typedef Index::IB IB; - typedef Index::RangeType RangeType; + typedef typename Index::IB IB; + typedef typename Index::RangeType RangeType; DEFAULT_MEMBERS(LIndex); LIndex(const Index& i); diff --git a/src/include/ranges/ranges.cc.h b/src/include/ranges/ranges.cc.h index b7beae8..a72925b 100644 --- a/src/include/ranges/ranges.cc.h +++ b/src/include/ranges/ranges.cc.h @@ -6,4 +6,5 @@ #include "urange.cc.h" #include "crange.cc.h" #include "dindex.cc.h" +#include "lindex.cc.h" #include "index_mul.cc.h" diff --git a/src/include/ranges/ranges.h b/src/include/ranges/ranges.h index ea942c3..d58a141 100644 --- a/src/include/ranges/ranges.h +++ b/src/include/ranges/ranges.h @@ -8,6 +8,7 @@ #include "xindex.h" #include "yrange.h" #include "dindex.h" +#include "lindex.h" #include "index_mul.h" #include "ranges.cc.h"