Przeglądaj źródła

Fix style for function signatures

Ole 9 lat temu
rodzic
commit
9b0705342a
1 zmienionych plików z 4 dodań i 4 usunięć
  1. 4 4
      lib/luwra/stack.hpp

+ 4 - 4
lib/luwra/stack.hpp

@@ -151,10 +151,10 @@ namespace internal {
 	};
 
 	template <typename... A>
-	struct LayoutMapper<void (A...)> {
+	struct LayoutMapper<void(A...)> {
 		template <typename F, typename... X> static inline
 		size_t map(State* state, int n, F&& hook, X&&... args) {
-			direct<void (A...)>(
+			direct<void(A...)>(
 				state,
 				n,
 				std::forward<F>(hook),
@@ -165,12 +165,12 @@ namespace internal {
 	};
 
 	template <typename R, typename... A>
-	struct LayoutMapper<R (A...)> {
+	struct LayoutMapper<R(A...)> {
 		template <typename F, typename... X> static inline
 		size_t map(State* state, int n, F&& hook, X&&... args) {
 			return push(
 				state,
-				direct<R (A...)>(
+				direct<R(A...)>(
 					state,
 					n,
 					std::forward<F>(hook),