From 6fd3920871a0cd07dff12c727c94782e7b4aa3be Mon Sep 17 00:00:00 2001 From: om Date: Sun, 23 Jul 2006 02:43:20 +0000 Subject: 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 --- src/modules/extra/m_sqlv2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3