diff options
author | Ben Woosley <ben.woosley@gmail.com> | 2018-07-12 00:39:40 -0400 |
---|---|---|
committer | Ben Woosley <ben.woosley@gmail.com> | 2018-07-17 13:56:21 -0400 |
commit | 33539cb34b8f59b65387c142a46744fc83d3ed31 (patch) | |
tree | da44a7b47dcba82cb74aaa4652b14ee153a41d77 /src/chainparamsbase.cpp | |
parent | 6fcdb5ebdd71b8b0fed3df0fd6aa3639bcb87a0b (diff) |
Extract MakeUnique into utilmemory.h
And use it to reduce chainparamsbase's direct reliance on util.h to
only args handling.
utilmemory.h can be replaced with <memory> once we move to C++14.
Diffstat (limited to 'src/chainparamsbase.cpp')
-rw-r--r-- | src/chainparamsbase.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/chainparamsbase.cpp b/src/chainparamsbase.cpp index 787d8d8f6a..da9f3e3209 100644 --- a/src/chainparamsbase.cpp +++ b/src/chainparamsbase.cpp @@ -7,6 +7,7 @@ #include <tinyformat.h> #include <util.h> +#include <utilmemory.h> #include <assert.h> |