From 1bd8d938429c42b54286068fe3a5b22743fbc794 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 13 Sep 2018 08:46:05 +0200 Subject: Fix compilation with GCC 7 --- ingen/FilePath.hpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/ingen/FilePath.hpp b/ingen/FilePath.hpp index f81e59c0..6bdd6044 100644 --- a/ingen/FilePath.hpp +++ b/ingen/FilePath.hpp @@ -48,14 +48,9 @@ public: typedef std::basic_string string_type; - FilePath() noexcept = default; + FilePath() = default; FilePath(const FilePath&) = default; - - FilePath(FilePath&& path) noexcept - : _str(std::move(path._str)) - { - path.clear(); - } + FilePath(FilePath&&) = default; FilePath(string_type&& str) : _str(std::move(str)) {} FilePath(const string_type& str) : _str(str) {} -- cgit v1.2.1