Qt: Add another C++ missing header: <algorithm> for std::sort()

Fix build error:
ui/qt/packet_list_model.cpp:270:5: error: 'sort' is not a member of 'std'
     std::sort(visible_rows_.begin(), visible_rows_.end(), recordLessThan);

Change-Id: I3a577a268f6c12e8fd97b7b6fd2429989c28e2f5
Reviewed-on: https://code.wireshark.org/review/10092
Petri-Dish: Michal Labedzki <michal.labedzki@tieto.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
This commit is contained in:
Michal Labedzki 2015-07-22 17:38:51 +02:00 committed by Alexis La Goutte
parent 037524490d
commit 318c3a5452
2 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include <algorithm>
#include "packet_list_model.h"
#include "file.h"

View File

@ -21,6 +21,7 @@
#include "rpc_service_response_time_dialog.h"
#include <algorithm>
#include <stdio.h>
#include <epan/dissectors/packet-dcerpc.h>