summaryrefslogtreecommitdiff
path: root/src/common/assert.h
diff options
context:
space:
mode:
authorGravatar bunnei2016-04-25 09:08:25 -0400
committerGravatar bunnei2016-04-25 09:08:25 -0400
commit28de7f584e25269a4914a6d11b000f7e817cc1b4 (patch)
treee691188c0807876d339546e14e41cb916ed24c0e /src/common/assert.h
parentMerge pull request #1576 from smspillaz/fix-build-errors-03272016 (diff)
parenttravis: Install cmake 3.1 (diff)
downloadyuzu-28de7f584e25269a4914a6d11b000f7e817cc1b4.tar.gz
yuzu-28de7f584e25269a4914a6d11b000f7e817cc1b4.tar.xz
yuzu-28de7f584e25269a4914a6d11b000f7e817cc1b4.zip
Merge pull request #1714 from smspillaz/fix-1711
Fixes for #1711 and other compilation errors.
Diffstat (limited to 'src/common/assert.h')
-rw-r--r--src/common/assert.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/assert.h b/src/common/assert.h
index d7f19f5eb..cd9b819a9 100644
--- a/src/common/assert.h
+++ b/src/common/assert.h
@@ -39,7 +39,7 @@ static void assert_noinline_call(const Fn& fn) {
39 }); } while (0) 39 }); } while (0)
40 40
41#define UNREACHABLE() ASSERT_MSG(false, "Unreachable code!") 41#define UNREACHABLE() ASSERT_MSG(false, "Unreachable code!")
42#define UNREACHABLE_MSG(_a_, ...) ASSERT_MSG(false, _a_, __VA_ARGS__) 42#define UNREACHABLE_MSG(...) ASSERT_MSG(false, __VA_ARGS__)
43 43
44#ifdef _DEBUG 44#ifdef _DEBUG
45#define DEBUG_ASSERT(_a_) ASSERT(_a_) 45#define DEBUG_ASSERT(_a_) ASSERT(_a_)