diff --git a/src/support/allocators/secure.h b/src/support/allocators/secure.h index 4395567722..e7ffc9e201 100644 --- a/src/support/allocators/secure.h +++ b/src/support/allocators/secure.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2021 The Bitcoin Core developers +// Copyright (c) 2009-present The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -74,7 +74,7 @@ secure_unique_ptr make_secure_unique(Args&&... as) // initialize in place, and return as secure_unique_ptr try { - return secure_unique_ptr(new (p) T(std::forward(as)...)); + return secure_unique_ptr(new (p) T(std::forward(as)...)); } catch (...) { secure_allocator().deallocate(p, 1); throw;