Use assert() instead of ASSERT() in base library (to avoid dependency with Allegro).

This commit is contained in:
David Capello 2011-11-13 17:47:48 -03:00
parent c53590a0d5
commit 103211509e

View File

@ -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.