Skip to content

Commit

Permalink
fix #71
Browse files Browse the repository at this point in the history
  • Loading branch information
cgcostume committed Feb 6, 2015
1 parent 566f73f commit 651d810
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 16 deletions.
6 changes: 1 addition & 5 deletions source/glbinding/include/glbinding/Function.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#endif
#endif

namespace
namespace glbinding
{

template <typename ReturnType, typename... Arguments> struct FunctionHelper;
Expand All @@ -29,10 +29,6 @@ struct CallbackType<void, Arguments...>
using type = std::function<void(Arguments...)>;
};

}

namespace glbinding
{

template <typename ReturnType, typename... Arguments>
class Function : public AbstractFunction
Expand Down
7 changes: 1 addition & 6 deletions source/glbinding/include/glbinding/Function.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <functional>


namespace
namespace glbinding
{

template <typename ReturnType, typename... Arguments>
Expand Down Expand Up @@ -87,11 +87,6 @@ struct FunctionHelper<void, Arguments...>
}
};

}


namespace glbinding
{

template <typename ReturnType, typename... Arguments>
Function<ReturnType, Arguments...>::Function(const char * _name)
Expand Down
7 changes: 2 additions & 5 deletions source/glbinding/include/glbinding/Value.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#pragma once

namespace

namespace glbinding
{

template <typename... Arguments>
Expand Down Expand Up @@ -30,10 +31,6 @@ void addValuesTo(std::vector<glbinding::AbstractValue*> & values, Arguments&&...
ValueAdder<Arguments...>::add(values, std::forward<Arguments>(arguments)...);
}

}

namespace glbinding
{

template <typename T>
Value<T>::Value(T _value)
Expand Down

0 comments on commit 651d810

Please sign in to comment.