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/Makefile.am | |
| 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/Makefile.am')
| -rw-r--r-- | src/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index eda20ad29..1442c3d66 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -187,6 +187,7 @@ univalue_libbitcoin_univalue_a_SOURCES = \ univalue/univalue.cpp \ univalue/univalue_read.cpp \ univalue/univalue_write.cpp \ + univalue/univalue_escapes.h \ univalue/univalue.h # common: shared between bitcoind, and bitcoin-qt and non-server tools |