Fix for clang warning about Column's implicit constructor.

>> definition of implicit copy constructor for 'Column' is deprecated because it has a user-declared destructor [-Wdeprecated] <<
This commit is contained in:
madmaxoft 2014-09-17 21:29:33 +02:00
parent ba578196ad
commit e17d77245b

View File

@ -43,6 +43,13 @@ namespace SQLite
class Column
{
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.
*