Skip to content

Commit 9912af0

Browse files
authored
Merge pull request #8 from CPP-KT/change-tests
fix windows tests
2 parents c217d75 + 9a89fc3 commit 9912af0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/fault-injection.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ struct fault_injection_allocator {
2929

3030
fault_injection_allocator() = default;
3131

32+
template <typename U>
33+
fault_injection_allocator(const fault_injection_allocator<U>&) {}
34+
35+
template <typename U>
36+
fault_injection_allocator& operator=(const fault_injection_allocator<U>&) {}
37+
3238
T* allocate(size_t count) {
3339
return static_cast<T*>(injected_allocate(count * sizeof(T)));
3440
}

0 commit comments

Comments
 (0)