aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/filemap.h
diff options
context:
space:
mode:
authorsankear <sankear@yandex-team.ru>2022-02-10 16:50:10 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:10 +0300
commitaed1c1c7782eb0a0536e5b25bbed950b397e0ac8 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/system/filemap.h
parent7377d7b033ffbef85e9bb0bf35091a8e79ed422c (diff)
downloadydb-aed1c1c7782eb0a0536e5b25bbed950b397e0ac8.tar.gz
Restoring authorship annotation for <sankear@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/filemap.h')
-rw-r--r--util/system/filemap.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/system/filemap.h b/util/system/filemap.h
index 3a5516fe8d..11be64bff4 100644
--- a/util/system/filemap.h
+++ b/util/system/filemap.h
@@ -8,7 +8,7 @@
#include <util/generic/ptr.h>
#include <util/generic/utility.h>
#include <util/generic/yexception.h>
-#include <util/generic/flags.h>
+#include <util/generic/flags.h>
#include <util/generic/string.h>
#include <new>
@@ -48,7 +48,7 @@ struct TMemoryMapCommon {
}
};
- enum EOpenModeFlag {
+ enum EOpenModeFlag {
oRdOnly = 1,
oRdWr = 2,
oCopyOnWr = 4,
@@ -58,7 +58,7 @@ struct TMemoryMapCommon {
oPrecharge = 16,
oPopulate = 32, // Populate page table entries (see mmap's MAP_POPULATE)
};
- Y_DECLARE_FLAGS(EOpenMode, EOpenModeFlag)
+ Y_DECLARE_FLAGS(EOpenMode, EOpenModeFlag)
/**
* Name that will be printed in exceptions if not specified.
@@ -66,7 +66,7 @@ struct TMemoryMapCommon {
*/
static TString UnknownFileName();
};
-Y_DECLARE_OPERATORS_FOR_FLAGS(TMemoryMapCommon::EOpenMode)
+Y_DECLARE_OPERATORS_FOR_FLAGS(TMemoryMapCommon::EOpenMode)
class TMemoryMap: public TMemoryMapCommon {
public: