mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
Merge #6059: fix: build with gcc 13.2.0 - missing header memory in addrdb
a86f975ad9
fix: build with gcc 13.2.0 - missing header memory in addrdb (Konstantin Akimov) Pull request description: ## Issue being fixed or feature implemented ``` In file included from test/addrman_tests.cpp:5: ./addrdb.h:51:99: error: ‘std::unique_ptr’ has not been declared 51 | std::optional<bilingual_str> LoadAddrman(const std::vector<bool>& asmap, const ArgsManager& args, std::unique_ptr<AddrMan>& addrman); | ^~~ ./addrdb.h:51:114: error: expected ‘,’ or ‘...’ before ‘<’ token 51 | std::optional<bilingual_str> LoadAddrman(const std::vector<bool>& asmap, const ArgsManager& args, std::unique_ptr<AddrMan>& addrman); | ``` ## What was done? adds missing header `<memory>` in addrdb ## How Has This Been Tested? Run build - it works ## Breaking Changes N/A ## Checklist: - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation - [x] I have assigned this pull request to a milestone ACKs for top commit: UdjinM6: utACKa86f975ad9
PastaPastaPasta: utACKa86f975ad9
Tree-SHA512: e25f63b6b823b3ef0a0dcb43386bed144ab68e05d09552dc109fb7687e16422949cfc4deb1b65d6d0d842299bd0e13da673d90aae695dcedeec4bc27f33c6f5f
This commit is contained in:
commit
1b3bd26180
@ -10,6 +10,7 @@
|
|||||||
#include <net_types.h> // For banmap_t
|
#include <net_types.h> // For banmap_t
|
||||||
#include <univalue.h>
|
#include <univalue.h>
|
||||||
|
|
||||||
|
#include <memory>
|
||||||
#include <optional>
|
#include <optional>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user