Added back the inline static for cpp >= 17

This commit is contained in:
Paul Ferrand 2019-09-23 10:23:24 +02:00 committed by GitHub
parent 92ba5f6036
commit 503d365869
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -60,7 +60,7 @@ private:
}; };
std::atomic<int> count { 0 }; std::atomic<int> count { 0 };
}; };
static ObjectCounter objectCounter; inline static ObjectCounter objectCounter;
}; };
#ifndef NDEBUG #ifndef NDEBUG