delete ndebug.h

This commit is contained in:
Andrew Cassidy 2021-04-04 21:23:13 -07:00
parent 9fdbaf2909
commit 8ab324a661
2 changed files with 0 additions and 28 deletions

View File

@ -1,26 +0,0 @@
/* Python-rgbcx Texture Compression Library
Copyright (C) 2021 Andrew Cassidy <drewcassidy@me.com>
Partially derived from rgbcx.h written by Richard Geldreich <richgel99@gmail.com>
and licenced under the public domain
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#ifdef NDEBUG // asserts disabled
constexpr bool ndebug = true;
#else // asserts enabled
constexpr bool ndebug = false;
#endif

View File

@ -26,8 +26,6 @@
#include <functional>
#include <vector>
#include "ndebug.h"
#define UINT5_MAX 0x1FU // 31
#define UINT6_MAX 0x3FU // 63