Merge pull request #29 from mc-server/FixClangWarning

Fix for clang warning about Column's implicit constructor.
This commit is contained in:
Sébastien Rombauts 2014-09-17 22:21:48 +02:00
commit 618169cf36

View File

@ -43,6 +43,13 @@ namespace SQLite
class Column class Column
{ {
public: public:
// Make clang happy by explicitly implementing the copy-constructor:
Column(const Column & aOther) :
mStmtPtr(aOther.mStmtPtr),
mIndex(aOther.mIndex)
{
}
/** /**
* @brief Encapsulation of a Column in a Row of the result. * @brief Encapsulation of a Column in a Row of the result.
* *