Commit 32f42bb6 authored by gbalduzz's avatar gbalduzz
Browse files

Silence warning in CPU only compilation.

parent d510f6f1
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;
};