diff --git a/examples/pitched_allocation/pitched_allocation.cpp b/examples/pitched_allocation/pitched_allocation.cpp index 66e3195f..4e2dcac9 100755 --- a/examples/pitched_allocation/pitched_allocation.cpp +++ b/examples/pitched_allocation/pitched_allocation.cpp @@ -178,7 +178,7 @@ struct nonconst_tbs_accessor { constexpr nonconst_tbs_accessor() noexcept = default; - constexpr reference + reference access(data_handle_type p, size_t i) const noexcept { return {p + i * sizeof(tbs)}; }