diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2020-10-11 21:04:50 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-11-24 09:46:49 +0100 |
commit | fa861569dcfff9e72686dc5f30b1faa645b4d54e (patch) | |
tree | c2685b3bc66841e4a69a792a578a842b187ffd2b /src/net.h | |
parent | cb89e18845852c005ba8ab94acc6544d7c876a42 (diff) |
util: Allow Assert(...) to be used in all contexts
Fixes the compile error when used inside operator[]:
./chain.h:404:23: error: C++11 only allows consecutive left square brackets when introducing an attribute
return (*this)[Assert(pindex)->nHeight] == pindex;
^
Diffstat (limited to 'src/net.h')
0 files changed, 0 insertions, 0 deletions