Skip to content

Commit 19985aa

Browse files
committed
fixup: fix KW error "Non-void function does not return value"
1 parent dcddf40 commit 19985aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/mkldnn.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ template <typename T, typename traits=handle_traits<T>> class handle {
5353
private:
5454
std::shared_ptr<typename std::remove_pointer<T>::type> _data;
5555
handle(const handle &&) {}
56-
handle &operator=(const handle &&other) {}
56+
handle &operator=(const handle &&other) = delete;
5757
protected:
5858
/// Constructs a C handle wrapper.
5959
/// @param t The C handle to wrap.

0 commit comments

Comments
 (0)