forked from qt-creator/qt-creator
Wholesale conversion to #pragma once
Kudos to cgmb and https://github.com/cgmb/guardonce Change-Id: Ifa8970734b8d43fd08c9260c645bdb0228633791 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
7
src/libs/3rdparty/cplusplus/cppassert.h
vendored
7
src/libs/3rdparty/cplusplus/cppassert.h
vendored
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef SOFT_ASSERT_H
|
||||
#define SOFT_ASSERT_H
|
||||
#pragma once
|
||||
|
||||
#include <iostream>
|
||||
|
||||
@@ -36,7 +35,3 @@
|
||||
|
||||
#define CPP_ASSERT(cond, action) if (cond) {} else { CPP_ASSERT_STRING(#cond); action; } do {} while (0)
|
||||
#define CPP_CHECK(cond) if (cond) {} else { CPP_ASSERT_STRING(#cond); } do {} while (0)
|
||||
|
||||
#endif // SOFT_ASSERT_H
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user