diff options
author | Noel Grandin <noel@peralex.com> | 2012-08-13 12:34:20 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-08-13 22:47:03 +0200 |
commit | 07f4263cdec47be554da18cc37d2078d170c5ec3 (patch) | |
tree | f84069b4564a1e767a922a18ac2131acfd54269a | |
parent | 837a125ba6d31fb4cbc654e982884430464e8bba (diff) |
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
-rw-r--r-- | tools/inc/tools/contnr.hxx | 2 | ||||
-rw-r--r-- | tools/inc/tools/list.hxx | 1 |
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 |