pmaports/unity8/gmenuharness/0001-Add-missing-header-include.patch

39 lines
936 B
Diff
Raw Normal View History

From 32d7af4f22bbd99b3bd7775290300dc920f275ac Mon Sep 17 00:00:00 2001
From: Luca Weiss <luca@z3ntu.xyz>
Date: Mon, 31 Dec 2018 18:15:02 +0100
Subject: [PATCH] Add missing header include
---
src/MatchUtils.cpp | 2 ++
tests/functional/menus/MenuMain.cpp | 1 +
2 files changed, 3 insertions(+)
diff --git a/src/MatchUtils.cpp b/src/MatchUtils.cpp
index 19f458a..7f2c98e 100644
--- a/src/MatchUtils.cpp
+++ b/src/MatchUtils.cpp
@@ -20,6 +20,8 @@
#include <unity/util/ResourcePtr.h>
+#include <functional>
+
using namespace std;
namespace util = unity::util;
diff --git a/tests/functional/menus/MenuMain.cpp b/tests/functional/menus/MenuMain.cpp
index 5123177..cbc7cbe 100644
--- a/tests/functional/menus/MenuMain.cpp
+++ b/tests/functional/menus/MenuMain.cpp
@@ -25,6 +25,7 @@
#include <iostream>
#include <memory>
+#include <functional>
using namespace std;
using namespace unity::util;
--
2.20.1