Remove use of deprecated behavior involving copy members

*  If any of the destructor, copy assignment or copy constructor
   are user-declared, both copy members should be user-declared,
   otherwise the compiler-generation of them is deprecated.
This commit is contained in:
Howard Hinnant
2017-09-05 15:23:47 -04:00
committed by seelabs
parent 16acba1636
commit 4e6c8d8b35
15 changed files with 56 additions and 11 deletions

View File

@@ -16,6 +16,12 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
//==============================================================================
#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated"
#endif
#include <BeastConfig.h>
// Core soci
@@ -50,3 +56,7 @@
#include <core/blob.cpp>
#include <backends/sqlite3/blob.cpp>
#if defined(__clang__)
#pragma clang diagnostic pop
#endif