diff options
author | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-23 02:43:20 +0000 |
---|---|---|
committer | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-23 02:43:20 +0000 |
commit | 6fd3920871a0cd07dff12c727c94782e7b4aa3be (patch) | |
tree | 629f068a7f133c933a3368dc29608acd23f49d82 /src | |
parent | 031d51685c62a3300bf3c99313cb214d841f352e (diff) |
Give SQLfield's constructor parameters default values (effectively giving it a default constructor), lets SQLfieldMap actually be useable..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4519 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/extra/m_sqlv2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_sqlv2.h b/src/modules/extra/m_sqlv2.h index 3272efec5..9c7d1750a 100644 --- a/src/modules/extra/m_sqlv2.h +++ b/src/modules/extra/m_sqlv2.h @@ -259,7 +259,7 @@ public: /** Initialize an SQLfield */ - SQLfield(const std::string &data, bool n) + SQLfield(const std::string &data = "", bool n = false) : d(data), null(n) { |