From 0b4c59824e3b2b0411dd33835c67f6cd36d60a91 Mon Sep 17 00:00:00 2001
From: Boris Kolpackov <boris@codesynthesis.com>
Date: Sun, 28 Nov 2010 17:52:25 +0200
Subject: Simplify tests by using literal names

---
 common/container/test.hxx | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

(limited to 'common/container')

diff --git a/common/container/test.hxx b/common/container/test.hxx
index 1f565cd..22bcdda 100644
--- a/common/container/test.hxx
+++ b/common/container/test.hxx
@@ -41,16 +41,13 @@ typedef std::list<std::string> str_list;
 
 typedef std::vector<int> num_vector;
 typedef std::vector<std::string> str_vector;
-typedef std::vector<comp> comp_vector;
 
 typedef std::set<int> num_set;
 typedef std::set<std::string> str_set;
-typedef std::set<comp> comp_set;
 
 typedef std::map<int, std::string> num_str_map;
 typedef std::map<std::string, int> str_num_map;
 typedef std::map<int, comp> num_comp_map;
-typedef std::map<comp, std::string> comp_str_map;
 
 #pragma db value
 struct cont_comp1
@@ -93,7 +90,7 @@ struct object
   str_vector sv;
 
   #pragma db value_column("")
-  comp_vector cv;
+  std::vector<comp> cv;
 
   #pragma db unordered
   num_vector uv;
@@ -107,14 +104,14 @@ struct object
   //
   num_set ns;
   str_set ss;
-  comp_set cs;
+  std::set<comp> cs;
 
   // map
   //
   num_str_map nsm;
   str_num_map snm;
   num_comp_map ncm;
-  comp_str_map csm;
+  std::map<comp, std::string> csm;
 
   std::string str;
 };
-- 
cgit v1.1