From 99ddc9ac1a331afcd5099fac97d1a99bad5d83f1 Mon Sep 17 00:00:00 2001 From: "Lori A. Burns" Date: Thu, 17 Nov 2016 05:01:11 -0500 Subject: [PATCH] equals needed for test_copy_move_policies to build icpc 2016.3 (#507) --- tests/test_copy_move_policies.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_copy_move_policies.cpp b/tests/test_copy_move_policies.cpp index de1c6e647..6f7907c1f 100644 --- a/tests/test_copy_move_policies.cpp +++ b/tests/test_copy_move_policies.cpp @@ -21,7 +21,7 @@ struct lacking_copy_ctor : public empty { lacking_copy_ctor(const lacking_copy_ctor& other) = delete; }; -template <> lacking_copy_ctor empty::instance_ {}; +template <> lacking_copy_ctor empty::instance_ = {}; struct lacking_move_ctor : public empty { lacking_move_ctor() {} @@ -29,7 +29,7 @@ struct lacking_move_ctor : public empty { lacking_move_ctor(lacking_move_ctor&& other) = delete; }; -template <> lacking_move_ctor empty::instance_ {}; +template <> lacking_move_ctor empty::instance_ = {}; test_initializer copy_move_policies([](py::module &m) { py::class_(m, "lacking_copy_ctor")