summaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/string/format_string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'library/cpp/yt/string/format_string.cpp')
-rw-r--r--library/cpp/yt/string/format_string.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/library/cpp/yt/string/format_string.cpp b/library/cpp/yt/string/format_string.cpp
new file mode 100644
index 00000000000..31aae3ace13
--- /dev/null
+++ b/library/cpp/yt/string/format_string.cpp
@@ -0,0 +1,18 @@
+#include "format_string.h"
+
+namespace NYT {
+
+////////////////////////////////////////////////////////////////////////////////
+
+TRuntimeFormat::TRuntimeFormat(TStringBuf fmt)
+ : Format_(fmt)
+{ }
+
+TStringBuf TRuntimeFormat::Get() const noexcept
+{
+ return Format_;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+
+} // namespace NYT