summaryrefslogtreecommitdiffstats
path: root/inc/CrashTypes.h
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-08-27 15:57:17 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-08-27 15:57:17 +0200
commitfc4721139b2a7fb890f50105ea169ca4fa6544ac (patch)
tree987a9941ed8437fd49409f542407d505df77d425 /inc/CrashTypes.h
parent27fa2ecd754cc383b5aecbc11feb6b59323f6397 (diff)
downloadabrt-fc4721139b2a7fb890f50105ea169ca4fa6544ac.tar.gz
abrt-fc4721139b2a7fb890f50105ea169ca4fa6544ac.tar.xz
abrt-fc4721139b2a7fb890f50105ea169ca4fa6544ac.zip
consolidate container typedefs in one file (we had a few dupes)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'inc/CrashTypes.h')
-rw-r--r--inc/CrashTypes.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/inc/CrashTypes.h b/inc/CrashTypes.h
index 61975037..e5001f69 100644
--- a/inc/CrashTypes.h
+++ b/inc/CrashTypes.h
@@ -1,9 +1,7 @@
#ifndef CRASHTYPES_H_
#define CRASHTYPES_H_
-#include <string>
-#include <map>
-#include <vector>
+#include "abrt_types.h"
// SYS - system value, should not be displayed
// BIN - binary value, should be displayed as a path to binary file
@@ -39,8 +37,7 @@
#define CD_MWUUID "_MWUUID"
#define CD_MWDDD "_MWDDD"
-// now, size of a vecor is always 3 -> <type, editable, content>
-typedef std::vector<std::string> vector_strings_t;
+// currently, vector always has exactly 3 elements -> <type, editable, content>
// <key, data>
typedef std::map<std::string, vector_strings_t> map_crash_data_t;