Skip to content
Snippets Groups Projects
Commit 572a1bb4 authored by hcasse's avatar hcasse
Browse files

Final merge with old exp repository.

parent 13f9c3c8
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 2.8.12)
project("elm")
#add_compile_options(-Wall -Werror)
if(ELM_STAT)
message(STATUS "ELM_STAT enabled")
else()
......
......@@ -115,7 +115,7 @@ public:
inline Iter nth(int n) const { Iter i(*this); while(n != 0 && i()) { n--; i++; }; return i; }
// operators
inline SortedList<T>& operator=(const SortedList<T, C>& sl) { list.copy(sl.list); return *this; }
inline SortedList<T, C>& operator=(const SortedList<T, C>& sl) { list.copy(sl.list); return *this; }
inline bool operator&(const T& e) const { return list.contains(e); }
inline T& operator[](int k) { return list[k]; }
inline const T& operator[](int k) const { return list[k]; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment