From 6d34d64bfdb1b06e5a80ac14b35abddd0006d9c5 Mon Sep 17 00:00:00 2001
From: Niels Lohmann <mail@nlohmann.me>
Date: Mon, 8 Oct 2018 06:54:51 +0200
Subject: [PATCH] :ambulance: fixed compilation error

---
 include/nlohmann/detail/json_ref.hpp | 4 ++--
 single_include/nlohmann/json.hpp     | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/nlohmann/detail/json_ref.hpp b/include/nlohmann/detail/json_ref.hpp
index b9abc47a..f9dba5de 100644
--- a/include/nlohmann/detail/json_ref.hpp
+++ b/include/nlohmann/detail/json_ref.hpp
@@ -31,10 +31,10 @@ class json_ref
     {}
 
     // class should be movable only
-    json_ref(json_ref&&) noexcept = default;
+    json_ref(json_ref&&) = default;
     json_ref(const json_ref&) = delete;
     json_ref& operator=(const json_ref&) = delete;
-    json_ref& operator=(json_ref&&) noexcept = default;
+    json_ref& operator=(json_ref&&) = delete;
     ~json_ref() = default;
 
     value_type moved_or_copied() const
diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp
index 583eb874..d4422c59 100644
--- a/single_include/nlohmann/json.hpp
+++ b/single_include/nlohmann/json.hpp
@@ -10375,10 +10375,10 @@ class json_ref
     {}
 
     // class should be movable only
-    json_ref(json_ref&&) noexcept = default;
+    json_ref(json_ref&&) = default;
     json_ref(const json_ref&) = delete;
     json_ref& operator=(const json_ref&) = delete;
-    json_ref& operator=(json_ref&&) noexcept = default;
+    json_ref& operator=(json_ref&&) = delete;
     ~json_ref() = default;
 
     value_type moved_or_copied() const