File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
sycl/include/sycl/ext/intel/experimental/esimd/detail Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -71,11 +71,11 @@ namespace sycl::ext::intel::experimental::esimd::detail::test {
71
71
// Therefore the following expression is expected to return `true` only if the
72
72
// move constructor or move operator was called for the instance of the class
73
73
// under test:
74
- // instance.get_test_proxy().was_moved ()
74
+ // instance.get_test_proxy().was_move_destination ()
75
75
//
76
76
class test_proxy {
77
77
// Define the default value to use for every constructor
78
- bool m_moved = false ;
78
+ bool M_move_destination = false ;
79
79
80
80
public:
81
81
test_proxy () { __esimd_dbg_print (test_proxy ()); }
@@ -85,18 +85,18 @@ class test_proxy {
85
85
}
86
86
test_proxy (test_proxy &&) {
87
87
__esimd_dbg_print (test_proxy (test_proxy && other));
88
- m_moved = true ;
88
+ M_move_destination = true ;
89
89
}
90
90
test_proxy &operator =(const test_proxy &) {
91
91
__esimd_dbg_print (test_proxy::operator =(const test_proxy &other));
92
92
return *this ;
93
93
}
94
94
test_proxy &operator =(test_proxy &&) {
95
95
__esimd_dbg_print (test_proxy::operator =(test_proxy &&other));
96
- m_moved = true ;
96
+ M_move_destination = true ;
97
97
return *this ;
98
98
}
99
- bool was_moved () const { return m_moved ; }
99
+ bool was_move_destination () const { return M_move_destination ; }
100
100
};
101
101
102
102
} // namespace sycl::ext::intel::experimental::esimd::detail::test
You can’t perform that action at this time.
0 commit comments