add-missing-functional-includes-5630.patch 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. From 8a6cc8b5069265e1e92e22def985e22c5955e503 Mon Sep 17 00:00:00 2001
  2. From: Morris Hafner <mmha@users.noreply.github.com>
  3. Date: Mon, 13 Feb 2017 17:46:46 +0100
  4. Subject: [PATCH] Add missing <functional> includes (#5630)
  5. ---
  6. src/core/mergedproxymodel.cpp | 1 +
  7. src/devices/giolister.cpp | 1 +
  8. src/library/groupbydialog.cpp | 2 ++
  9. 3 files changed, 4 insertions(+)
  10. diff --git a/src/core/mergedproxymodel.cpp b/src/core/mergedproxymodel.cpp
  11. index 56217f6fd..8c210d391 100644
  12. --- a/src/core/mergedproxymodel.cpp
  13. +++ b/src/core/mergedproxymodel.cpp
  14. @@ -23,6 +23,7 @@
  15. #include <QStringList>
  16. +#include <functional>
  17. #include <limits>
  18. // boost::multi_index still relies on these being in the global namespace.
  19. diff --git a/src/devices/giolister.cpp b/src/devices/giolister.cpp
  20. index aa3bddb34..5f63ef248 100644
  21. --- a/src/devices/giolister.cpp
  22. +++ b/src/devices/giolister.cpp
  23. @@ -17,6 +17,7 @@
  24. #include "config.h"
  25. +#include <functional>
  26. #include <memory>
  27. #include <QFile>
  28. diff --git a/src/library/groupbydialog.cpp b/src/library/groupbydialog.cpp
  29. index 5efdc9f36..e5f711b34 100644
  30. --- a/src/library/groupbydialog.cpp
  31. +++ b/src/library/groupbydialog.cpp
  32. @@ -20,6 +20,8 @@
  33. #include <QPushButton>
  34. +#include <functional>
  35. +
  36. // boost::multi_index still relies on these being in the global namespace.
  37. using std::placeholders::_1;
  38. using std::placeholders::_2;
  39. --
  40. 2.13.4