Skip to content

Commit

Permalink
Remove redundand data() and size() for the ozo::value
Browse files Browse the repository at this point in the history
  • Loading branch information
thed636 committed Apr 6, 2020
1 parent b983f50 commit 3148fa6
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions include/ozo/result.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,16 +101,6 @@ class value {
coordinates v_;
};

template <typename T, typename Result>
inline const T* data(const value<Result>& v) noexcept {
return reinterpret_cast<const T*>(v.data());
}

template <typename T, typename Result>
inline std::size_t size(const value<Result>& v) noexcept {
return v.size();
}

/**
* @brief Database request result row proxy
*
Expand Down

0 comments on commit 3148fa6

Please sign in to comment.