summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-08-13 12:34:20 +0200
committerMichael Stahl <mstahl@redhat.com>2012-08-13 22:47:03 +0200
commit07f4263cdec47be554da18cc37d2078d170c5ec3 (patch)
treef84069b4564a1e767a922a18ac2131acfd54269a /tools
parentFinal fixes for pairing. (diff)
downloadcore-07f4263cdec47be554da18cc37d2078d170c5ec3.tar.gz
core-07f4263cdec47be554da18cc37d2078d170c5ec3.zip
Move definition of LIST_APPEND to contnr.hxx
This definition is used everywhere as a flag value, even where the List class itself is not used. Move it as part of stripping away usage of the List class. Change-Id: I064dc25368bd04b038f4e07a337bf8adf0b8d0eb
Diffstat (limited to 'tools')
-rw-r--r--tools/inc/tools/contnr.hxx2
-rw-r--r--tools/inc/tools/list.hxx1
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/inc/tools/contnr.hxx b/tools/inc/tools/contnr.hxx
index 72b98fd56593..cfd140d9eb73 100644
--- a/tools/inc/tools/contnr.hxx
+++ b/tools/inc/tools/contnr.hxx
@@ -35,6 +35,8 @@ class CBlock;
#define CONTAINER_APPEND ULONG_MAX
#define CONTAINER_ENTRY_NOTFOUND ULONG_MAX
+#define LIST_APPEND CONTAINER_APPEND
+
class TOOLS_DLLPUBLIC Container
{
private:
diff --git a/tools/inc/tools/list.hxx b/tools/inc/tools/list.hxx
index d7a4e0e02d59..b462d5526c07 100644
--- a/tools/inc/tools/list.hxx
+++ b/tools/inc/tools/list.hxx
@@ -27,7 +27,6 @@
// - List -
// --------
-#define LIST_APPEND CONTAINER_APPEND
#define LIST_ENTRY_NOTFOUND CONTAINER_ENTRY_NOTFOUND
class List : private Container