← Back to team overview

millennium-dev team mailing list archive

[Bug 1202670] Re: Removing tailing newline character after std::getline is redundant

 

** Changed in: libmillennium
    Milestone: None => 0.1

-- 
You received this bug notification because you are a member of
Millennium Developers, which is subscribed to libMillennium.
https://bugs.launchpad.net/bugs/1202670

Title:
  Removing tailing newline character after std::getline is redundant

Status in libMillennium:
  Fix Committed

Bug description:
  The line

  "message.erase(std::remove(message.begin(), message.end(), '\n'),
  message.end()); // Removes newline characters"

  in file main.cpp probably does nothing in all cases.

To manage notifications about this bug go to:
https://bugs.launchpad.net/libmillennium/+bug/1202670/+subscriptions


References