summaryrefslogtreecommitdiff
path: root/include/core/core.h
diff options
context:
space:
mode:
authorErkin Bahceci <erkinbah@gmail.com>2009-12-15 21:15:07 -0600
committerErkin Bahceci <erkinbah@gmail.com>2009-12-16 06:14:32 -0600
commitf842469d7ed8cd4a8a0a7f6c81ef148d1597460d (patch)
treefbd9325ebfaec1053dbd96ff4122986d9c3198a5 /include/core/core.h
parent6b9eb15b09fa68ad35b176ef2a9ad1d211b180dd (diff)
downloadmobileperf-f842469d7ed8cd4a8a0a7f6c81ef148d1597460d.tar.gz
mobileperf-f842469d7ed8cd4a8a0a7f6c81ef148d1597460d.tar.bz2
Add CountedList class, a wrapper for std::list.
This std::list wrapper is to be used for cases where size() needs to be called, since std::list.size() has linear complexity in gcc, whereas CountedList::size() has constant complexity, as it keeps a counter.
Diffstat (limited to 'include/core/core.h')
-rw-r--r--include/core/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/core/core.h b/include/core/core.h
index bff0646..40f2eec 100644
--- a/include/core/core.h
+++ b/include/core/core.h
@@ -80,5 +80,6 @@ typedef XBool Bool;
#include <core/session.h>
#include <core/size.h>
#include <core/region.h>
+#include <core/countedlist.h>
#endif