mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-04 09:46:02 -04:00
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:
parent
ba578196ad
commit
e17d77245b
@ -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.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user