Unverified Commit 29063f39 authored by Haehner, Urs Rene's avatar Haehner, Urs Rene Committed by GitHub
Browse files

Merge pull request #101 from CompFUSE/silence_warning

Silence warning in CPU only compilation.
parents d510f6f1 32f42bb6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ struct DefaultAllocator<T, GPU> {
    T* allocate(std::size_t) {
      throw(std::logic_error("GPU not available."));
    }
    void deallocate(T*& ptr, std::size_t /*n*/ = 0) {}
    void deallocate(T*& /*ptr*/, std::size_t /*n*/ = 0) {}
  };
  using type = UnusedAllocator;
};