Skip to content

Commit cfd58bd

Browse files
committed
Add getNames entrypoint in context
1 parent 63780b2 commit cfd58bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/loader/layers/exception_sanitizer/ur_exception_sanitizer_layer.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ class __urdlllocal context_t : public proxy_layer_context_t,
3535
const std::set<std::string> &enabledLayerNames,
3636
codeloc_data codelocData) override;
3737
ur_result_t tearDown() override { return UR_RESULT_SUCCESS; }
38-
39-
private:
40-
inline static const std::string name = "UR_LAYER_EXCEPTION_SANITIZER";
38+
static std::vector<std::string> getNames() {
39+
return {"UR_LAYER_EXCEPTION_SANITIZER"};
40+
}
4141
};
4242

4343
context_t *getContext();

0 commit comments

Comments
 (0)