From 4b3b5eba86d89e65e751b9e9b8e901a17f8e35ef Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Thu, 19 Mar 2015 23:53:54 +0000 Subject: Use Vector for storing areas --- core/vector.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'core/vector.h') diff --git a/core/vector.h b/core/vector.h index 90a9bf715b..d6453a3b83 100644 --- a/core/vector.h +++ b/core/vector.h @@ -149,7 +149,16 @@ public: sort_custom<_DefaultComparator >(); } - + void ordered_insert(const T& p_val) { + int i; + for (i=0; i