Skip to content

Commit

Permalink
fix namespace aliasing. see issue #18
Browse files Browse the repository at this point in the history
  • Loading branch information
patflick committed Sep 26, 2018
1 parent 1ad54ce commit c04e602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/mxx/reduction.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ class custom_op {
}
if (!m_builtin) {
// create user function
using ph = std::placeholders;
namespace ph = std::placeholders;
m_user_func = std::bind(custom_op::custom_function<Func>,
std::forward<Func>(func),
ph::_1, ph::_2, ph::_3, ph::_4);
Expand Down

0 comments on commit c04e602

Please sign in to comment.