diff options
| author | osado <[email protected]> | 2022-02-10 16:49:18 +0300 | 
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:18 +0300 | 
| commit | 3ed175181ceac225ee14e4519492ad2967a7bd73 (patch) | |
| tree | a1a8375fb33669212c8d4f3eb2e50f4f719b6533 /library/cpp/scheme/util/utils.h | |
| parent | 883d905c560ebed4b7f38d021b424d75c4521a6f (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/scheme/util/utils.h')
| -rw-r--r-- | library/cpp/scheme/util/utils.h | 44 | 
1 files changed, 22 insertions, 22 deletions
| diff --git a/library/cpp/scheme/util/utils.h b/library/cpp/scheme/util/utils.h index f7d666f67a2..66132153056 100644 --- a/library/cpp/scheme/util/utils.h +++ b/library/cpp/scheme/util/utils.h @@ -1,23 +1,23 @@ -#pragma once - +#pragma once  +   #include <library/cpp/scheme/scheme.h> - -#include <util/generic/strbuf.h> -#include <util/ysaveload.h> - -namespace NScUtils { - -void CopyField(const NSc::TValue& from, NSc::TValue& to); - -template <typename... Args> -void CopyField(const NSc::TValue& from, NSc::TValue& to, TStringBuf path, Args... args) { -    CopyField(from[path], to[path], args...); -} - -} // namespace NScUtils - -template<> -struct TSerializer<NSc::TValue> { -    static void Save(IOutputStream* out, const NSc::TValue& v); -    static void Load(IInputStream* in, NSc::TValue& v); -}; +  +#include <util/generic/strbuf.h>  +#include <util/ysaveload.h>  +  +namespace NScUtils {  +  +void CopyField(const NSc::TValue& from, NSc::TValue& to);  +  +template <typename... Args>  +void CopyField(const NSc::TValue& from, NSc::TValue& to, TStringBuf path, Args... args) {  +    CopyField(from[path], to[path], args...);  +}  +  +} // namespace NScUtils  +  +template<>  +struct TSerializer<NSc::TValue> {  +    static void Save(IOutputStream* out, const NSc::TValue& v);  +    static void Load(IInputStream* in, NSc::TValue& v);  +};  | 
