summaryrefslogtreecommitdiff
path: root/libdbpp/selectcommandUtil.impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdbpp/selectcommandUtil.impl.h')
-rw-r--r--libdbpp/selectcommandUtil.impl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdbpp/selectcommandUtil.impl.h b/libdbpp/selectcommandUtil.impl.h
index a6d17ca..b8f62e5 100644
--- a/libdbpp/selectcommandUtil.impl.h
+++ b/libdbpp/selectcommandUtil.impl.h
@@ -91,16 +91,16 @@ namespace DB {
template<typename ... Fn>
template<unsigned int C>
- inline typename std::tuple_element<C, std::tuple<Fn...>>::type Row<Fn...>::value() const
+ inline typename Row<Fn...>::template FieldType<C> Row<Fn...>::value() const
{
return get<C>();
}
template<typename ... Fn>
template<unsigned int C>
- inline typename std::tuple_element<C, std::tuple<Fn...>>::type Row<Fn...>::get() const
+ inline typename Row<Fn...>::template FieldType<C> Row<Fn...>::get() const
{
- typename std::tuple_element<C, std::tuple<Fn...>>::type a;
+ FieldType<C> a;
sel->operator[](C) >> a;
return a;
}