Skip to content

Commit

Permalink
Removing constexpr from void functions in tests
Browse files Browse the repository at this point in the history
This patch removes constexpr from void functions in executors tests to avoid
problems with C++11 compilers.
  • Loading branch information
Thomas Heller committed Jul 4, 2017
1 parent 93f4496 commit 0cb9de5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/unit/parallel/executors/minimal_async_executor.cpp
Expand Up @@ -273,7 +273,7 @@ namespace hpx { namespace traits

template <typename Executor,
typename B1, typename B2, typename B3, typename B4, typename B5>
constexpr void static_check_executor(B1, B2, B3, B4, B5)
void static_check_executor(B1, B2, B3, B4, B5)
{
using namespace hpx::traits;

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/parallel/executors/minimal_sync_executor.cpp
Expand Up @@ -329,7 +329,7 @@ namespace hpx { namespace traits
}}

template <typename Executor, typename B1, typename B2>
constexpr void static_check_executor(B1, B2)
void static_check_executor(B1, B2)
{
using namespace hpx::traits;

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/parallel/executors/parallel_executor.cpp
Expand Up @@ -149,7 +149,7 @@ void test_bulk_then()
).get();
}

constexpr void static_check_executor()
void static_check_executor()
{
using namespace hpx::traits;
using executor = hpx::parallel::execution::parallel_executor;
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/parallel/executors/parallel_fork_executor.cpp
Expand Up @@ -148,7 +148,7 @@ void test_bulk_then()
).get();
}

constexpr void static_check_executor()
void static_check_executor()
{
using namespace hpx::traits;
using executor = hpx::parallel::execution::parallel_executor;
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/parallel/executors/sequenced_executor.cpp
Expand Up @@ -146,7 +146,7 @@ void test_bulk_async()
).get();
}

constexpr void static_check_executor()
void static_check_executor()
{
using namespace hpx::traits;
using executor = hpx::parallel::execution::sequenced_executor;
Expand Down

0 comments on commit 0cb9de5

Please sign in to comment.