• Jeff Garzik's avatar
    Univalue: Do not build JSON escape list at runtime · 802e2364
    Jeff Garzik authored
    No need to waste startup time building something that can be done
    at compile time.
    
    This also resolves a clang++ warning originally reported in #4714,
    univalue/univalue_write.cpp:33:12: warning: array subscript is of type 'char
    escapes['"'] = "\\"";
    ^~~~
    
    etc.
    802e2364
.gitignore 1.08 KB