summaryrefslogtreecommitdiff
path: root/src/database
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-07-08 12:37:03 +0200
committerlouiz’ <louiz@louiz.org>2017-07-08 12:37:03 +0200
commit7a9b2dca06c390531ec7f5d85e58cc27e17e7b74 (patch)
tree5e131f8e4a6adbbb5a91651e99020f63f22bb829 /src/database
parentcf56b60fd340dc62f90b5b8d3c86d68da347abee (diff)
downloadbiboumi-7a9b2dca06c390531ec7f5d85e58cc27e17e7b74.tar.gz
biboumi-7a9b2dca06c390531ec7f5d85e58cc27e17e7b74.tar.bz2
biboumi-7a9b2dca06c390531ec7f5d85e58cc27e17e7b74.tar.xz
biboumi-7a9b2dca06c390531ec7f5d85e58cc27e17e7b74.zip
Use a more precise return type, instead of auto
Diffstat (limited to 'src/database')
-rw-r--r--src/database/row.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database/row.hpp b/src/database/row.hpp
index e7a58c4..a8e8579 100644
--- a/src/database/row.hpp
+++ b/src/database/row.hpp
@@ -45,7 +45,7 @@ struct Row
{}
template <typename Type>
- auto& col()
+ typename Type::real_type& col()
{
auto&& col = std::get<Type>(this->columns);
return col.value;