diff options
author | Michal Labedzki <michal.labedzki@tieto.com> | 2015-07-22 17:38:51 +0200 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2015-08-18 07:55:35 +0000 |
commit | 318c3a54528364c536ae3a709e19ae38a178cefe (patch) | |
tree | 8aca39212579538f0f2e2d4e59dd1ff948bce389 /ui/qt/packet_list_model.cpp | |
parent | 037524490dce2950759f29fc8e845c59c56b8197 (diff) | |
download | wireshark-318c3a54528364c536ae3a709e19ae38a178cefe.tar.gz |
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>
Diffstat (limited to 'ui/qt/packet_list_model.cpp')
-rw-r--r-- | ui/qt/packet_list_model.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/qt/packet_list_model.cpp b/ui/qt/packet_list_model.cpp index 79fe759e6f..e82c181712 100644 --- a/ui/qt/packet_list_model.cpp +++ b/ui/qt/packet_list_model.cpp @@ -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" |