From 91335ba389918966c94eeb7071b6c5a998bf1be8 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Mon, 5 Dec 2016 20:38:20 -0800 Subject: [PATCH] Remove unused MakeTransactionRef overloads --- src/primitives/transaction.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/primitives/transaction.h b/src/primitives/transaction.h index 4c4a238dd51..8e5b4244083 100644 --- a/src/primitives/transaction.h +++ b/src/primitives/transaction.h @@ -453,8 +453,6 @@ struct CMutableTransaction typedef std::shared_ptr CTransactionRef; static inline CTransactionRef MakeTransactionRef() { return std::make_shared(); } template static inline CTransactionRef MakeTransactionRef(Tx&& txIn) { return std::make_shared(std::forward(txIn)); } -static inline CTransactionRef MakeTransactionRef(const CTransactionRef& txIn) { return txIn; } -static inline CTransactionRef MakeTransactionRef(CTransactionRef&& txIn) { return std::move(txIn); } /** Compute the weight of a transaction, as defined by BIP 141 */ int64_t GetTransactionWeight(const CTransaction &tx);