HomePhabricator

correct forward declaration in rawtransaction_util.h

Description

correct forward declaration in rawtransaction_util.h

Summary:
recently backported change conflicts with D753 by forward declaring
CMutableTransaction as a struct, not a class.

following warning issued:

../src/./rpc/rawtransaction_util.h:12:1: warning: struct
'CMutableTransaction' was previously declared as a class; this is valid,
but may result in linker errors under the Microsoft C++ ABI
[-Wmismatched-tags]
struct CMutableTransaction;

this changes the forward declaration to class for consistency

Test Plan:

ninja check

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D5993

Details

Provenance
majcostaAuthored on May 6 2020, 21:21
abc-botPushed on May 7 2020, 12:40
Reviewer
Restricted Project
Differential Revision
D5993: correct forward declaration in rawtransaction_util.h
Parents
rSTAGINGaa22044236a9: prevector: avoid misaligned member accesses
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/19788