debug/common: don't include iostream
This commit is contained in:
parent
6de8ed4831
commit
bb3aff28ce
@ -18,6 +18,9 @@
|
|||||||
|
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
|
#ifndef NDEBUG
|
||||||
|
#include <iostream>
|
||||||
|
#endif
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
#ifdef COMPILER_GCC
|
#ifdef COMPILER_GCC
|
||||||
|
@ -29,7 +29,6 @@
|
|||||||
/// refer to variables which do not always exist, and current compiler
|
/// refer to variables which do not always exist, and current compiler
|
||||||
/// implementations are a little picky here.
|
/// implementations are a little picky here.
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
#include <iostream>
|
|
||||||
#define DEBUG_ONLY(X) do { X; } while (0)
|
#define DEBUG_ONLY(X) do { X; } while (0)
|
||||||
#else
|
#else
|
||||||
#define DEBUG_ONLY(X) do { ; } while (0)
|
#define DEBUG_ONLY(X) do { ; } while (0)
|
||||||
|
Loading…
Reference in New Issue
Block a user