diff options
author | Lectem <lectem@gmail.com> | 2017-02-05 00:29:07 +0100 |
---|---|---|
committer | Lectem <lectem@gmail.com> | 2017-02-05 00:29:07 +0100 |
commit | 2ee472b9c7123fe8b70a14311312e268635b3700 (patch) | |
tree | 154a55f912c5cce2f43c54076e25ec443dcfa755 /src | |
parent | fix comments alignment (diff) | |
download | yuzu-2ee472b9c7123fe8b70a14311312e268635b3700.tar yuzu-2ee472b9c7123fe8b70a14311312e268635b3700.tar.gz yuzu-2ee472b9c7123fe8b70a14311312e268635b3700.tar.bz2 yuzu-2ee472b9c7123fe8b70a14311312e268635b3700.tar.lz yuzu-2ee472b9c7123fe8b70a14311312e268635b3700.tar.xz yuzu-2ee472b9c7123fe8b70a14311312e268635b3700.tar.zst yuzu-2ee472b9c7123fe8b70a14311312e268635b3700.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/ipc_helpers.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/ipc_helpers.h b/src/core/hle/ipc_helpers.h index 68508caba..323158bb5 100644 --- a/src/core/hle/ipc_helpers.h +++ b/src/core/hle/ipc_helpers.h @@ -53,8 +53,8 @@ public: void Push(u32 value) { cmdbuf[index++] = value; } - template <typename First, class... Other> - void Push(First first_value, const Other&... other_values) { + template <typename First, typename... Other> + void Push(const First& first_value, const Other&... other_values) { Push(first_value); Push(other_values...); } @@ -144,7 +144,7 @@ public: template <typename T> void Pop(T& value); - template <typename First, class... Other> + template <typename First, typename... Other> void Pop(First& first_value, Other&... other_values); Kernel::Handle PopHandle(); @@ -211,7 +211,7 @@ void RequestParser::Pop(T& value) { value = Pop<T>(); } -template <typename First, class... Other> +template <typename First, typename... Other> void RequestParser::Pop(First& first_value, Other&... other_values) { first_value = Pop<First>(); Pop(other_values...); |