diff options
author | bulatman <bulatman@yandex-team.com> | 2023-06-08 20:05:16 +0300 |
---|---|---|
committer | bulatman <bulatman@yandex-team.com> | 2023-06-08 20:05:16 +0300 |
commit | df6af3ee4741c667cf0c449696f768186bdc5752 (patch) | |
tree | 21ad8fed13c87e0ebec4bb5456f667a79d11c745 /util/ysafeptr.h | |
parent | 8642bc755ab5b51752619694224388b2d247c737 (diff) | |
download | ydb-df6af3ee4741c667cf0c449696f768186bdc5752.tar.gz |
Require semicolon after saveload macroses
Diffstat (limited to 'util/ysafeptr.h')
-rw-r--r-- | util/ysafeptr.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/util/ysafeptr.h b/util/ysafeptr.h index af7dfd4bed..c33f66db84 100644 --- a/util/ysafeptr.h +++ b/util/ysafeptr.h @@ -1,6 +1,7 @@ #pragma once #include <stddef.h> +#include <util/system/compiler.h> #include <util/system/yassert.h> #include <util/system/defaults.h> #include <util/system/tls.h> @@ -209,7 +210,9 @@ protected: \ this->ObjData += nHoldObjs; \ } \ \ -private: +private: \ + Y_SEMICOLON_GUARD + #define OBJECT_NOCOPY_METHODS(classname) OBJECT_METHODS(classname) #define BASIC_REGISTER_CLASS(classname) \ Y_PRAGMA_DIAGNOSTIC_PUSH \ |