From 3148fa6c34eeee55a55a953393cc1226f0fd0785 Mon Sep 17 00:00:00 2001 From: "Sergei L. Khandrikov" Date: Sat, 4 Apr 2020 18:20:38 +0300 Subject: [PATCH] Remove redundand data() and size() for the ozo::value --- include/ozo/result.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/include/ozo/result.h b/include/ozo/result.h index d9e643e4e..299937b86 100644 --- a/include/ozo/result.h +++ b/include/ozo/result.h @@ -101,16 +101,6 @@ class value { coordinates v_; }; -template -inline const T* data(const value& v) noexcept { - return reinterpret_cast(v.data()); -} - -template -inline std::size_t size(const value& v) noexcept { - return v.size(); -} - /** * @brief Database request result row proxy *