-
-
Notifications
You must be signed in to change notification settings - Fork 425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cleanup: Changes for c++17 #1376
Conversation
0379d45
to
ae9b101
Compare
Getting this error. |
This cleanup adjusts the rTorrent code to comply with c++17 standard. It also simplifies various parts of the code.
All fixed. if (first != last) {
if (!command_map_is_newline(*first))
throw torrent::input_error("Junk at end of input.");
first++;
} |
It needs to check all from first to last. |
This does the same thing as before the cleanup in |
This cleanup adjusts the rTorrent code to comply with c++17 standard. It also simplifies various parts of the code.