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

Fixed compiling tests on GCC 4.8.5 #211

Merged
merged 1 commit into from
Sep 30, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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