Use quoted form when including primitives/transaction.h and wallet/wallet.h#10752
Use quoted form when including primitives/transaction.h and wallet/wallet.h#10752practicalswift wants to merge 2 commits intobitcoin:masterfrom
Conversation
|
ACK 0357ce0 (trivial review) |
|
All aboard the obvious-ACK train :). utACK. |
|
utACK 0357ce0 |
|
utACK 0357ce0 |
utACK as it matches the common convention better. Though sometimes I wonder whether this convention is a good idea.
So with regard to unambiguity, this is a change for the worse. |
src/wallet/feebumper.h
Outdated
There was a problem hiding this comment.
With quotes should be relative?
#include "../primitives/transaction.h"|
The advantage of using #include "primitives/transaction.h" instead of simply #include "transaction.h" is that one day we may want to search and replace all #include "primitives/transaction.h" say, to a new directory. If you moved primitives/block.o to the same directory at the same time it would be fine though. |
0357ce0 to
02ffbc3
Compare
|
Added a commit fixing the same thing when importing |
02ffbc3 to
f89752c
Compare
f89752c to
a9ea61a
Compare
|
If you don't mind, I'm going to close this. There has been talk of moving to absolute inclusion (e.g. |
|
Makes sense! :-) |
Nit: We expect to find
primitives/transaction.hlocally insrc/.