mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
Recommend #include<> syntax in developer notes
This commit is contained in:
parent
96b92810a6
commit
434f5a2506
@ -492,6 +492,14 @@ namespace {
|
|||||||
|
|
||||||
- *Rationale*: Avoids confusion about the namespace context
|
- *Rationale*: Avoids confusion about the namespace context
|
||||||
|
|
||||||
|
- Prefer `#include <primitives/transaction.h>` bracket syntax instead of
|
||||||
|
`#include "primitives/transactions.h"`` quote syntax when possible.
|
||||||
|
|
||||||
|
- *Rationale*: Bracket syntax is less ambiguous because the preprocessor
|
||||||
|
searches a fixed list of include directories without taking location of the
|
||||||
|
source file into account. This allows quoted includes to stand out more when
|
||||||
|
the location of the source file actually is relevant.
|
||||||
|
|
||||||
GUI
|
GUI
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user