diff options
| author | Jeff Garzik <[email protected]> | 2014-08-18 10:36:21 -0400 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2014-08-18 10:36:21 -0400 |
| commit | 3cceba7abb22133fcaea8d4f7aaed345f0e48009 (patch) | |
| tree | 221d4da65869d4b5df0a9db20af9a9c2566d9621 /src/protocol.cpp | |
| parent | Merge pull request #4707 (diff) | |
| download | discoin-3cceba7abb22133fcaea8d4f7aaed345f0e48009.tar.xz discoin-3cceba7abb22133fcaea8d4f7aaed345f0e48009.zip | |
Univalue: Do not build JSON escape list at runtime
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.
Diffstat (limited to 'src/protocol.cpp')
0 files changed, 0 insertions, 0 deletions