Skip to content

Commit d089fbd

Browse files
authored
supress Werror introduced by lack of override by #86786 on bool initialized() (#89687)
1 parent f45fe7d commit d089fbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

c10/cuda/CUDAMallocAsyncAllocator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ struct CudaMallocAsyncAllocator : public CUDAAllocator {
430430
(void)called;
431431
}
432432

433-
bool initialized() {
433+
bool initialized() override {
434434
return devs_initialized_flags.size() > 0;
435435
}
436436

0 commit comments

Comments
 (0)