aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/lwtrace/symbol.cpp
blob: 456652bcd0720a448ff42896de70c8b3ced28b99 (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);
}