aboutsummaryrefslogtreecommitdiffstats
path: root/util/ysafeptr.h
diff options
context:
space:
mode:
authordmasloff <dmasloff@yandex-team.com>2024-08-17 23:33:42 +0300
committerdmasloff <dmasloff@yandex-team.com>2024-08-17 23:43:45 +0300
commit69340f4614e853b9319df4b454ab7497711ee3cd (patch)
tree9902a3e2f58fe0bd9a157e7b51ad1cc52efa5744 /util/ysafeptr.h
parenta905b53ec410defd5d2c40031ef8b34bb50a29f8 (diff)
downloadydb-69340f4614e853b9319df4b454ab7497711ee3cd.tar.gz
Set SpacesInLineCommentPrefix to 1 in /util
Set SpacesInLineCommentPrefix to 1 in /util 3853f9ec5143722c1bebd8dc0ffc9b61a6c17657
Diffstat (limited to 'util/ysafeptr.h')
-rw-r--r--util/ysafeptr.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/util/ysafeptr.h b/util/ysafeptr.h
index c33f66db84..22395ea3e3 100644
--- a/util/ysafeptr.h
+++ b/util/ysafeptr.h
@@ -7,18 +7,18 @@
#include <util/system/tls.h>
////////////////////////////////////////////////////////////////////////////////////////////////////
-// There are different templates of pointers:
-// 1. Simple pointers.
-// 2. TPtr with refereces.
-// 3. TObj/TMObj with ownership. After destruction of a TObj the object it referenced to is
-// cleaned up and marked as non valid. Similarly does TMobj organizing the parallel ownership
-// of an object.
+// There are different templates of pointers:
+// 1. Simple pointers.
+// 2. TPtr with refereces.
+// 3. TObj/TMObj with ownership. After destruction of a TObj the object it referenced to is
+// cleaned up and marked as non valid. Similarly does TMobj organizing the parallel ownership
+// of an object.
//
-// Limitations:
-// 1. It may be necessary to use BASIC_REGISTER_CLASS() in .cpp files to be able to use a
-// pointer to a forward declared class.
-// 2. It's prohibited to override the 'new' operator, since the standard 'delete' will be used
-// for destruction of objects (because of 'delete this').
+// Limitations:
+// 1. It may be necessary to use BASIC_REGISTER_CLASS() in .cpp files to be able to use a
+// pointer to a forward declared class.
+// 2. It's prohibited to override the 'new' operator, since the standard 'delete' will be used
+// for destruction of objects (because of 'delete this').
////////////////////////////////////////////////////////////////////////////////////////////////////
#if defined(_MSC_VER) && defined(_DEBUG)