From 468331093345e718b5d269a71b3c52a2eea4797e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com>
Date: Thu, 21 Apr 2016 21:46:08 -0400
Subject: [PATCH] extend fix to previous GCC versions

Fix suport of GCC 4.8 by extending the fix to
versions before 4.9
---
 include/opendht/dht.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/opendht/dht.h b/include/opendht/dht.h
index 09273981..c6c5a08d 100644
--- a/include/opendht/dht.h
+++ b/include/opendht/dht.h
@@ -723,7 +723,7 @@ private:
         Storage() {}
         Storage(InfoHash id, time_point now) : id(id), maintenance_time(now+MAX_STORAGE_MAINTENANCE_EXPIRE_TIME) {}
 
-#if defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ == 9 && __GNUC_PATCHLEVEL__ < 2
+#if defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ <= 9
         // GCC-bug: remove me when support of GCC < 4.9.2 is abandoned
         Storage(Storage&& o) noexcept
 			: id(std::move(o.id))
-- 
GitLab