Skip to content

Commit

Permalink
Adding missing namespace qualifications
Browse files Browse the repository at this point in the history
  • Loading branch information
hkaiser committed Nov 21, 2017
1 parent b12dd16 commit 6f98361
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hpx/runtime/threads/detail/scheduled_thread_pool_impl.hpp
Expand Up @@ -19,6 +19,7 @@
#include <hpx/runtime/threads/detail/set_thread_state.hpp>
#include <hpx/runtime/threads/policies/callback_notifier.hpp>
#include <hpx/runtime/threads/policies/scheduler_base.hpp>
#include <hpx/runtime/threads/policies/scheduler_mode.hpp>
#include <hpx/runtime/threads/policies/schedulers.hpp>
#include <hpx/runtime/threads/thread_helpers.hpp>
#include <hpx/runtime/threads/threadmanager.hpp>
Expand Down Expand Up @@ -1347,7 +1348,7 @@ namespace hpx { namespace threads { namespace detail
std::size_t virt_core, std::size_t thread_num,
std::shared_ptr<compat::barrier> startup, error_code& ec)
{
if (!(mode_ & enable_elasticity))
if (!(mode_ & threads::policies::enable_elasticity))
{
HPX_THROW_EXCEPTION(invalid_status,
"scheduled_thread_pool<Scheduler>::add_processing_unit",
Expand Down Expand Up @@ -1405,7 +1406,7 @@ namespace hpx { namespace threads { namespace detail
void scheduled_thread_pool<Scheduler>::remove_processing_unit(
std::size_t virt_core, error_code& ec)
{
if (!(mode_ & enable_elasticity))
if (!(mode_ & threads::policies::enable_elasticity))
{
HPX_THROW_EXCEPTION(invalid_status,
"scheduled_thread_pool<Scheduler>::remove_processing_unit",
Expand Down

0 comments on commit 6f98361

Please sign in to comment.