summaryrefslogtreecommitdiff
path: root/src/row.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/row.cpp')
-rw-r--r--src/row.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/row.cpp b/src/row.cpp
deleted file mode 100644
index a674e9c..0000000
--- a/src/row.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright (c) 2023 Klemens D. Morgenstern
-//
-// Distributed under the Boost Software License, Version 1.0. (See accompanying
-// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-#include <boost/sqlite/row.hpp>
-
-BOOST_SQLITE_BEGIN_NAMESPACE
-
-field row::at(std::size_t idx) const
-{
- if (idx >= size())
- throw_exception(std::out_of_range("column out of range"), BOOST_CURRENT_LOCATION);
- else
- {
- field f;
- f.stm_ = stm_;
- f.col_ = static_cast<int>(idx);
- return f;
- }
-}
-
-BOOST_SQLITE_END_NAMESPACE
-