From 88b5d11da136b8e827536b85e070e7e914e39506 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 17 Nov 2010 17:57:52 +0200 Subject: Use complete list of template parameters for container specializations --- odb/std-vector-traits.hxx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'odb/std-vector-traits.hxx') diff --git a/odb/std-vector-traits.hxx b/odb/std-vector-traits.hxx index 6c439c8..fd82236 100644 --- a/odb/std-vector-traits.hxx +++ b/odb/std-vector-traits.hxx @@ -14,15 +14,16 @@ namespace odb { - template - class access::container_traits > + template + class access::container_traits > { public: static container_kind const kind = ck_ordered; + typedef std::vector container_type; + typedef V value_type; - typedef typename std::vector::size_type index_type; - typedef std::vector container_type; + typedef typename container_type::size_type index_type; typedef ordered_functions functions; -- cgit v1.1