aboutsummaryrefslogtreecommitdiff
path: root/src/prevector.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-09-30 17:21:12 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-10-02 09:50:25 +0200
commitf00705ae7ff3c1db805859e3be41e58ac70625b6 (patch)
tree7eb3cb268bba468c1e8c6f7b37a51b56993303d8 /src/prevector.h
parent47314e6daad8157c9e36af90a47b3ae7fa0587de (diff)
downloadbitcoin-f00705ae7ff3c1db805859e3be41e58ac70625b6.tar.xz
serialize: Deprecate `begin_ptr` / `end_ptr`
Implement `begin_ptr` and `end_ptr` in terms of C++11 code, and add a comment that they are deprecated. Follow-up to developer notes update in 654a21162252294b7dbd6c982fec88008af7335e.
Diffstat (limited to 'src/prevector.h')
-rw-r--r--src/prevector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/prevector.h b/src/prevector.h
index d840dfcd08..25bce522dc 100644
--- a/src/prevector.h
+++ b/src/prevector.h
@@ -476,7 +476,7 @@ public:
}
}
- value_type* data() noexcept {
+ value_type* data() {
return item_ptr(0);
}