Skip to content
This repository has been archived by the owner on Aug 25, 2018. It is now read-only.

Commit

Permalink
Merge pull request #211 from saur0n/master
Browse files Browse the repository at this point in the history
Fixed compiling tests on GCC 4.8.5
  • Loading branch information
mloskot authored Sep 30, 2016
2 parents d9405d7 + 09c5453 commit e5669dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/base_test_fixture.h
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,9 @@ struct base_test_fixture
if (connection_string_.empty())
return nanodbc::string_type();

auto beg{connection_string_.begin()};
auto const end{connection_string_.end()};
auto pair_end{end};
auto beg = connection_string_.begin();
auto const end = connection_string_.end();
auto pair_end = end;
while ((pair_end = std::find(beg, end, NANODBC_TEXT(';'))) != end)
{
auto const eq_pos = std::find(beg, pair_end, NANODBC_TEXT('='));
Expand Down

0 comments on commit e5669dc

Please sign in to comment.