rpc: speedup get_outs.bin

This commit is contained in:
moneromooo-monero
2018-11-26 18:56:23 +00:00
parent b37ce24cdd
commit fc98f7a0a1
8 changed files with 45 additions and 18 deletions
+2
View File
@@ -109,6 +109,8 @@ namespace epee
constexpr std::size_t size() const noexcept { return len; }
constexpr std::size_t size_bytes() const noexcept { return size() * sizeof(value_type); }
const T &operator[](size_t idx) const { return ptr[idx]; }
private:
T* ptr;
std::size_t len;