mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-06 03:39:51 +00:00
Use assert() instead of ASSERT() in base library (to avoid dependency with Allegro).
This commit is contained in:
parent
c53590a0d5
commit
103211509e
@ -10,6 +10,7 @@
|
||||
#include "base/sha1_rfc3174.h"
|
||||
|
||||
#include <fstream>
|
||||
#include <cassert>
|
||||
|
||||
namespace base {
|
||||
|
||||
@ -21,7 +22,7 @@ Sha1::Sha1()
|
||||
Sha1::Sha1(const std::vector<uint8_t>& digest)
|
||||
: m_digest(digest)
|
||||
{
|
||||
ASSERT(digest.size() == HashSize);
|
||||
assert(digest.size() == HashSize);
|
||||
}
|
||||
|
||||
// Calculates the SHA1 of the given file.
|
||||
|
Loading…
x
Reference in New Issue
Block a user