Commit 643102f8 authored by Pavel Vainerman's avatar Pavel Vainerman

PostgreSQLInterface: [ fixed ] error: ambiguous overload for ‘operator[]’…

PostgreSQLInterface: [ fixed ] error: ambiguous overload for ‘operator[]’ (operand types are ‘pqxx::result::const_iterator’ and ‘size_t {aka long unsigned int}’)
parent 16d0bf56
......@@ -207,7 +207,7 @@ PostgreSQLResult::PostgreSQLResult( const pqxx::result& res )
{
COL col;
for( size_t i = 0; i < c.size(); i++ )
for( pqxx::result::tuple::size_type i = 0; i < c.size(); i++ )
col.push_back( c[i].as<string>() );
row.push_back(col);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment