Skip to content

Commit

Permalink
Fix conventions.
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrocaster committed Jan 15, 2016
1 parent c14be74 commit 63a4d37
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/xrScriptEngine/Functor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ void functor<void, typename...>::operator()(Args &&...args) const

namespace detail
{
template<typename T>
template <typename T>
struct type_to_string<functor<T>>
{
static void get(lua_State *L)
Expand All @@ -44,7 +44,7 @@ struct type_to_string<functor<T>>
};
}

template<typename T>
template <typename T>
struct default_converter<functor<T>> : native_converter_base<functor<T>>
{
static int compute_score(lua_State *luaState, int index)
Expand All @@ -61,11 +61,11 @@ struct default_converter<functor<T>> : native_converter_base<functor<T>>
{ value.push(luaState); }
};

template<typename T>
template <typename T>
struct default_converter<const functor<T>> : default_converter<functor<T>>
{};

template<typename T>
template <typename T>
struct default_converter<const functor<T> &> : default_converter<functor<T>>
{};
}

0 comments on commit 63a4d37

Please sign in to comment.