equals needed for test_copy_move_policies to build icpc 2016.3 (#507)

This commit is contained in:
Lori A. Burns 2016-11-17 05:01:11 -05:00 committed by Wenzel Jakob
parent 4de271027d
commit 99ddc9ac1a

View File

@ -21,7 +21,7 @@ struct lacking_copy_ctor : public empty<lacking_copy_ctor> {
lacking_copy_ctor(const lacking_copy_ctor& other) = delete;
};
template <> lacking_copy_ctor empty<lacking_copy_ctor>::instance_ {};
template <> lacking_copy_ctor empty<lacking_copy_ctor>::instance_ = {};
struct lacking_move_ctor : public empty<lacking_move_ctor> {
lacking_move_ctor() {}
@ -29,7 +29,7 @@ struct lacking_move_ctor : public empty<lacking_move_ctor> {
lacking_move_ctor(lacking_move_ctor&& other) = delete;
};
template <> lacking_move_ctor empty<lacking_move_ctor>::instance_ {};
template <> lacking_move_ctor empty<lacking_move_ctor>::instance_ = {};
test_initializer copy_move_policies([](py::module &m) {
py::class_<lacking_copy_ctor>(m, "lacking_copy_ctor")