diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-09-30 17:21:12 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-10-02 09:50:25 +0200 |
commit | f00705ae7ff3c1db805859e3be41e58ac70625b6 (patch) | |
tree | 7eb3cb268bba468c1e8c6f7b37a51b56993303d8 /src/prevector.h | |
parent | 47314e6daad8157c9e36af90a47b3ae7fa0587de (diff) |
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.h | 2 |
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); } |