diff options
author | sankear <[email protected]> | 2022-02-10 16:50:10 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:50:10 +0300 |
commit | 7377d7b033ffbef85e9bb0bf35091a8e79ed422c (patch) | |
tree | fca7665beced1b829e5ab628094d3721a66c1001 /util/system/filemap.h | |
parent | f054f783b50cf93fa12c0cc6375769c21f3fd27e (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/system/filemap.h')
-rw-r--r-- | util/system/filemap.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/system/filemap.h b/util/system/filemap.h index 11be64bff47..3a5516fe8d3 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: |