Skip to content

Commit

Permalink
Fix stupid copy&paste mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
hkaiser committed Jul 15, 2017
1 parent 236ef41 commit df7616b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hpx/runtime/threads/detail/create_thread.hpp
Expand Up @@ -83,7 +83,7 @@ namespace hpx { namespace threads { namespace detail
}

if (data.priority == thread_priority_default)
data.priority == thread_priority_normal;
data.priority = thread_priority_normal;

// create the new thread
std::size_t num_thread = data.num_os_thread;
Expand Down
2 changes: 1 addition & 1 deletion hpx/runtime/threads/detail/create_work.hpp
Expand Up @@ -90,7 +90,7 @@ namespace hpx { namespace threads { namespace detail
}

if (data.priority == thread_priority_default)
data.priority == thread_priority_normal;
data.priority = thread_priority_normal;

// create the new thread
if (thread_priority_high == data.priority ||
Expand Down

0 comments on commit df7616b

Please sign in to comment.