version, debug printf

This commit is contained in:
2022-04-13 12:31:11 +03:00
parent e4e16764f3
commit 4f2218619c
5 changed files with 13 additions and 12 deletions

View File

@@ -208,7 +208,7 @@ public:
const T at(const Key & key) const {return (*this)[key];}
PIMap<Key, T> & operator <<(const PIMap<Key, T> & other) {
#ifdef PIP_DEBUG
#ifndef NDEBUG
if (&other == this) {
printf("error with PIMap<%s, %s>::<<\n", __PIP_TYPENAME__(Key), __PIP_TYPENAME__(T));
}