commit 0c2620cd9eb7beff563879bf615eb6a095c7ebf9
parent 2800dbbcf39bda029cd16a8e0368e30d36eb316c
Author: cfillion <cfillion@users.noreply.github.com>
Date: Wed, 24 Aug 2016 02:23:36 -0400
refactoring – more C arrays
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/platform.cpp b/test/platform.cpp
@@ -2,7 +2,7 @@
#include <platform.hpp>
-#include <map>
+#include <utility>
using namespace std;
@@ -41,7 +41,7 @@ TEST_CASE("platform from string", M) {
}
TEST_CASE("test platform", M) {
- const map<Platform, bool> expected {
+ const pair<Platform, bool> expected[] = {
{Platform::GenericPlatform, true},
#ifdef __APPLE__