Fix so called ''compilation errors'' in linter

modernize-cmake-1
MrSimbax 2020-04-07 20:16:23 +02:00
parent ad33e0e624
commit 17ba464d33
1 changed files with 3 additions and 1 deletions

View File

@ -38,7 +38,9 @@ class CBotExprLitNum : public CBotInstr
{ {
public: public:
CBotExprLitNum(T val) = delete; // To keep linter happy, instead of = delete (see https://stackoverflow.com/a/37593094)
CBotExprLitNum(T val) { static_assert(sizeof(T) == 0, "Only specializations of CBotExprLitNum can be used"); };
~CBotExprLitNum(); ~CBotExprLitNum();
/*! /*!