File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -131,11 +131,12 @@ class __SYCL_EXPORT tls_code_loc_t {
131131 // / @details If a previous populated TLS entry exists, this constructor will
132132 // / capture the informationa and allow you to query the information later.
133133 tls_code_loc_t ();
134- tls_code_loc_t (const tls_code_loc_t &TLSCodeLoc) = default ;
135- tls_code_loc_t &operator =(const tls_code_loc_t &TLSCodeLoc) = default ;
136134 // / @brief Iniitializes TLS with CodeLoc if a TLS entry not present
137135 // / @param CodeLoc The code location information to set up the TLS slot with.
138136 tls_code_loc_t (const detail::code_location &CodeLoc);
137+ // Used to maintain global state, so we do not want to copy
138+ tls_code_loc_t (const tls_code_loc_t &) = delete ;
139+ tls_code_loc_t &operator =(const tls_code_loc_t &) = delete ;
139140 // / If the code location is set up by this instance, reset it.
140141 ~tls_code_loc_t ();
141142 // / @brief Query the information in the TLS slot
You can’t perform that action at this time.
0 commit comments