summaryrefslogtreecommitdiffstats
path: root/library/cpp/lwtrace/example3
diff options
context:
space:
mode:
authorVlad Yaroslavlev <[email protected]>2022-02-10 16:46:25 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:46:25 +0300
commit344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/lwtrace/example3
parent706b83ed7de5a473436620367af31fc0ceecde07 (diff)
Restoring authorship annotation for Vlad Yaroslavlev <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/lwtrace/example3')
-rw-r--r--library/cpp/lwtrace/example3/lwtrace_example3.cpp2
-rw-r--r--library/cpp/lwtrace/example3/my_action.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/lwtrace/example3/lwtrace_example3.cpp b/library/cpp/lwtrace/example3/lwtrace_example3.cpp
index 8556cc484f6..4493dc0077b 100644
--- a/library/cpp/lwtrace/example3/lwtrace_example3.cpp
+++ b/library/cpp/lwtrace/example3/lwtrace_example3.cpp
@@ -30,7 +30,7 @@ long double Fact(int n) {
void FactorialCalculator() {
i32 n;
Cout << "Enter a number: ";
- TString str;
+ TString str;
Cin >> n;
double factN = Fact(n);
Cout << n << "! = " << factN << Endl << Endl;
diff --git a/library/cpp/lwtrace/example3/my_action.h b/library/cpp/lwtrace/example3/my_action.h
index 0068774484a..9a04293ba27 100644
--- a/library/cpp/lwtrace/example3/my_action.h
+++ b/library/cpp/lwtrace/example3/my_action.h
@@ -8,7 +8,7 @@
class TMyFile: public NLWTrace::IResource {
private:
TMutex Mutex;
- THolder<TUnbufferedFileOutput> File;
+ THolder<TUnbufferedFileOutput> File;
public:
// Note that this class must have default ctor (it's declared here just for clearness)
@@ -27,7 +27,7 @@ public:
// if the same file was specified in Opts
return;
}
- File.Reset(new TUnbufferedFileOutput(path));
+ File.Reset(new TUnbufferedFileOutput(path));
}
// Outputs a line to opened file
@@ -63,7 +63,7 @@ public:
private:
virtual bool DoExecute(NLWTrace::TOrbit&, const NLWTrace::TParams& params) {
// Serialize param values to strings
- TString paramValues[LWTRACE_MAX_PARAMS];
+ TString paramValues[LWTRACE_MAX_PARAMS];
Probe->Event.Signature.SerializeParams(params, paramValues);
// Generate output line