Skip to content

Commit ce9c837

Browse files
authored
MapGuard should not support move ops (#380)
1 parent 2e96d63 commit ce9c837

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Inc/DirectXHelpers.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ namespace DirectX
7878
}
7979
}
8080

81-
MapGuard(MapGuard&&) = default;
82-
MapGuard& operator= (MapGuard&&) = default;
81+
MapGuard(MapGuard&&) = delete;
82+
MapGuard& operator= (MapGuard&&) = delete;
8383

8484
MapGuard(MapGuard const&) = delete;
8585
MapGuard& operator= (MapGuard const&) = delete;

0 commit comments

Comments
 (0)