Skip to content

Commit 896a80e

Browse files
authored
Fix: Remove use of bsl::next for Solaris compatibility (#1183)
Signed-off-by: Patrick M. Niedzielski <pniedzielski@bloomberg.net>
1 parent 4b3e7aa commit 896a80e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/groups/mqb/mqbauthn/mqbauthn_authenticationcontroller.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,10 @@ int AuthenticationController::initializeAuthenticators(
152152
for (AuthenticatorMap::const_iterator it = d_authenticators.cbegin();
153153
it != d_authenticators.cend();
154154
++it) {
155-
BALL_LOG_OUTPUT_STREAM << it->first;
156-
if (bsl::next(it) != d_authenticators.cend()) {
155+
if (it != d_authenticators.cbegin()) {
157156
BALL_LOG_OUTPUT_STREAM << ", ";
158157
}
158+
BALL_LOG_OUTPUT_STREAM << it->first;
159159
}
160160
BALL_LOG_OUTPUT_STREAM << "]";
161161
}

0 commit comments

Comments
 (0)