diff options
author | David Robillard <d@drobilla.net> | 2018-09-13 08:46:05 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-13 08:46:05 +0200 |
commit | 1bd8d938429c42b54286068fe3a5b22743fbc794 (patch) | |
tree | e2372f4f1063cad3e63a00d03e566f45eead27ef /ingen | |
parent | e720a178bd6916a93ad438035cc6fa69e1abeeb5 (diff) | |
download | ingen-1bd8d938429c42b54286068fe3a5b22743fbc794.tar.gz ingen-1bd8d938429c42b54286068fe3a5b22743fbc794.tar.bz2 ingen-1bd8d938429c42b54286068fe3a5b22743fbc794.zip |
Fix compilation with GCC 7
Diffstat (limited to 'ingen')
-rw-r--r-- | ingen/FilePath.hpp | 9 |
1 files 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<value_type> 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) {} |