Skip to content

Commit

Permalink
Adding missing #include
Browse files Browse the repository at this point in the history
  • Loading branch information
hkaiser committed Oct 18, 2017
1 parent cbc0a13 commit f15bb90
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions hpx/include/actions.hpp
Expand Up @@ -15,6 +15,7 @@
#include <hpx/runtime/actions/make_continuation.hpp>
#include <hpx/runtime/actions/manage_object_action.hpp>
#include <hpx/runtime/actions/plain_action.hpp>
#include <hpx/lcos/base_lco_with_value.hpp>

#endif

1 change: 1 addition & 0 deletions tests/regressions/actions/CMakeLists.txt
Expand Up @@ -9,6 +9,7 @@ set(tests
async_deferred_1523
component_action_move_semantics
make_continuation_1615
missing_include_2958
plain_action_1330
plain_action_1550
plain_action_move_semantics
Expand Down
19 changes: 19 additions & 0 deletions tests/regressions/actions/missing_include_2958.cpp
@@ -0,0 +1,19 @@
// Copyright (c) 2017 Christopher Hinz
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

#include <hpx/include/actions.hpp>

int foo()
{
return 42;
}

HPX_PLAIN_ACTION(foo);

int main()
{
return 0;
}

0 comments on commit f15bb90

Please sign in to comment.