Commit 124dd034 by Dane Springmeyer

integrate minor C++ fixes from @mscdex - refs #223

parent bbb5de16
......@@ -105,7 +105,8 @@ protected:
pending(0),
serialize(false),
debug_trace(NULL),
debug_profile(NULL) {
debug_profile(NULL),
update_event(NULL) {
}
......
......@@ -247,7 +247,7 @@ template <class T> T* Statement::Bind(const Arguments& args, int start, int last
return baton;
}
bool Statement::Bind(const Parameters parameters) {
bool Statement::Bind(const Parameters & parameters) {
if (parameters.size() == 0) {
return true;
}
......
......@@ -217,7 +217,7 @@ protected:
template <class T> inline Values::Field* BindParameter(const Handle<Value> source, T pos);
template <class T> T* Bind(const Arguments& args, int start = 0, int end = -1);
bool Bind(const Parameters parameters);
bool Bind(const Parameters & parameters);
static void GetRow(Row* row, sqlite3_stmt* stmt);
static Local<Object> RowToJS(Row* row);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment