[Aptitude-devel] [PATCH] publicize blob()/statement(); necessary for boost 1.53
nick black
nick.black at sprezzatech.com
Mon Apr 15 23:43:13 UTC 2013
Hey there! The following patch resolves two compilation issues when using
Boost 1.53.
---
src/generic/util/sqlite.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/generic/util/sqlite.h b/src/generic/util/sqlite.h
index 4c85c00..5241fcc 100644
--- a/src/generic/util/sqlite.h
+++ b/src/generic/util/sqlite.h
@@ -355,6 +355,7 @@ namespace aptitude
return parent.step();
}
};
+ statement(db &_parent, sqlite3_stmt *_handle);
private:
db &parent;
@@ -371,7 +372,6 @@ namespace aptitude
friend class db;
friend class db::statement_proxy_impl;
- statement(db &_parent, sqlite3_stmt *_handle);
template<typename A, typename B, typename C>
friend boost::shared_ptr<A> boost::make_shared(const B &, const C &);
@@ -564,7 +564,6 @@ namespace aptitude
friend class db;
- blob(db &_parent, sqlite3_blob *_handle);
template<typename A, typename B, typename C>
friend boost::shared_ptr<A> boost::make_shared(const B &, const C &);
@@ -581,6 +580,8 @@ namespace aptitude
* read-only; otherwise it will be opened
* read-write.
*/
+ blob(db &_parent, sqlite3_blob *_handle);
+
static boost::shared_ptr<blob>
open(db &parent,
const std::string &databaseName,
--
nick black http://www.sprezzatech.com -- unix and hpc consulting
to make an apple pie from scratch, you need first invent a universe.
More information about the Aptitude-devel
mailing list