summaryrefslogtreecommitdiff
path: root/project2/sql/sqlWriter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'project2/sql/sqlWriter.cpp')
-rw-r--r--project2/sql/sqlWriter.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/project2/sql/sqlWriter.cpp b/project2/sql/sqlWriter.cpp
index f654636..e3f632e 100644
--- a/project2/sql/sqlWriter.cpp
+++ b/project2/sql/sqlWriter.cpp
@@ -49,13 +49,13 @@ DynamicSql::SqlCommand::getSqlFor(const Glib::ustring & f) const
for (const SqlCommand::Filters::value_type & filter : filters) {
filter.second->active = (filter.second->name == f);
}
- Buffer sql;
+ AdHoc::Buffer sql;
writeSql(sql);
return Glib::ustring(sql.str());
}
void
-DynamicSql::SqlCommand::writeSql(Buffer & sql) const
+DynamicSql::SqlCommand::writeSql(AdHoc::Buffer & sql) const
{
for (const SqlWriterPtr & w : writers) {
w->writeSql(sql);
@@ -80,7 +80,7 @@ DynamicSql::SqlFilter::SqlFilter(ScriptNodePtr p) :
}
void
-DynamicSql::SqlFilter::writeSql(Buffer & sql) const
+DynamicSql::SqlFilter::writeSql(AdHoc::Buffer & sql) const
{
if (active) {
for (const SqlWriterPtr & w : writers) {
@@ -105,7 +105,7 @@ DynamicSql::SqlParameter::SqlParameter(ScriptNodePtr n) :
}
void
-DynamicSql::SqlParameter::writeSql(Buffer & sql) const
+DynamicSql::SqlParameter::writeSql(AdHoc::Buffer & sql) const
{
sql.append("?");
}
@@ -122,7 +122,7 @@ DynamicSql::SqlText::SqlText(const Glib::ustring & n) :
}
void
-DynamicSql::SqlText::writeSql(Buffer & sql) const
+DynamicSql::SqlText::writeSql(AdHoc::Buffer & sql) const
{
sql.append(text);
}