Thread-safe version of loopKeepAlive()
[folly.git] / folly / Indestructible.h
index 39c8f151d1201428f9e2ecb8388c4d6ce8c204bf..15e03c9d020257688d868b44a89913926821901f 100644 (file)
@@ -62,7 +62,7 @@ class Indestructible final {
  public:
   template <typename... Args>
   explicit constexpr Indestructible(Args&&... args) noexcept(
-      std::is_nothrow_constructible<T, decltype(args)...>::value)
+      std::is_nothrow_constructible<T, Args&&...>::value)
       : storage_(std::forward<Args>(args)...), inited_(true) {}
 
   ~Indestructible() = default;