From 8c6075892d211b34395032a11b7e95e403236ef5 Mon Sep 17 00:00:00 2001 From: Thomas Fischer <thomas.fischer@ufz.de> Date: Tue, 24 May 2016 10:25:21 +0200 Subject: [PATCH] [FileIO] GMSHInterface: Avoid implicit generation. Avoid implicit generation of - copy constructor, - move constructor, - assignment operator and - move assignment operator. --- FileIO/GMSHInterface.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/FileIO/GMSHInterface.h b/FileIO/GMSHInterface.h index 3c29b4f7624..c47b9f31762 100644 --- a/FileIO/GMSHInterface.h +++ b/FileIO/GMSHInterface.h @@ -76,6 +76,11 @@ public: double param1, double param2, std::size_t param3, std::vector<std::string>& selected_geometries); + GMSHInterface(GMSHInterface const&) = delete; + GMSHInterface(GMSHInterface &&) = delete; + GMSHInterface& operator=(GMSHInterface const&) = delete; + GMSHInterface& operator=(GMSHInterface &&) = delete; + ~GMSHInterface(); /** -- GitLab