aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/lwtrace/symbol.cpp
blob: b1840d577473d32359ae8764dc5e36059405e672 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "symbol.h"

#include <util/stream/output.h>
#include <util/string/cast.h>

template <>
NLWTrace::TSymbol FromStringImpl(const char*, size_t) {
    static TString err("ERROR_dynamic_symbol"); 
    return NLWTrace::TSymbol(&err);
}

template <>
void Out<NLWTrace::TSymbol>(IOutputStream& o, TTypeTraits<NLWTrace::TSymbol>::TFuncParam t) {
    Out<TString>(o, *t.Str); 
}