aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-02-12 13:48:12 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-02-12 13:48:12 +0200
commitcef149471d2fa41c5fa51ab666e24dbf0c3a7243 (patch)
treeaa8c183ab52c3605118531067b7364f9ef4d0243
parent2fed3993d4f10cd6772fd4b69bd60e130436be2f (diff)
Qualify vector to work around Sun CC bugs
-rw-r--r--odb/pgsql/traits.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/odb/pgsql/traits.cxx b/odb/pgsql/traits.cxx
index bb75e54..79188d1 100644
--- a/odb/pgsql/traits.cxx
+++ b/odb/pgsql/traits.cxx
@@ -98,7 +98,9 @@ namespace odb
//
// default_value_traits<vector<char>, id_bytea>
//
- void default_value_traits<vector<char>, id_bytea>::
+ // std::vector has to be qualified for Sun CC.
+ //
+ void default_value_traits<std::vector<char>, id_bytea>::
set_image (details::buffer& b,
size_t& n,
bool& is_null,
@@ -119,7 +121,9 @@ namespace odb
//
// default_value_traits<vector<unsigned char>, id_bytea>
//
- void default_value_traits<vector<unsigned char>, id_bytea>::
+ // std::vector has to be qualified for Sun CC.
+ //
+ void default_value_traits<std::vector<unsigned char>, id_bytea>::
set_image (details::buffer& b,
size_t& n,
bool& is_null,