[aseprite] 14/51: Call std::abort() on base_assert() so it acts like a breakpoint

Tobias Hansen thansen at moszumanska.debian.org
Mon Jul 11 21:35:15 UTC 2016


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository aseprite.

commit e1828ca6f362309c320a8708dfdfa4870ba627c5
Author: David Capello <davidcapello at gmail.com>
Date:   Tue Jun 28 10:15:44 2016 -0300

    Call std::abort() on base_assert() so it acts like a breakpoint
---
 src/base/debug.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/base/debug.cpp b/src/base/debug.cpp
index 9af43b4..e6d6ced 100644
--- a/src/base/debug.cpp
+++ b/src/base/debug.cpp
@@ -48,6 +48,7 @@ int base_assert(const char* condition, const char* file, int lineNum)
   text += ": Assertion failed: ";
   text += condition;
   std::cerr << text << std::endl;
+  std::abort();
   return 1;
 
 #endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git



More information about the Pkg-games-commits mailing list