16 lines
845 B
Diff
16 lines
845 B
Diff
diff --git a/interfaces/innerkits/ipc_core/include/iremote_broker.h b/interfaces/innerkits/ipc_core/include/iremote_broker.h
|
|
index 7105ff7..692f4b0 100644
|
|
--- a/interfaces/innerkits/ipc_core/include/iremote_broker.h
|
|
+++ b/interfaces/innerkits/ipc_core/include/iremote_broker.h
|
|
@@ -50,8 +50,8 @@ public:
|
|
};
|
|
|
|
#define DECLARE_INTERFACE_DESCRIPTOR(DESCRIPTOR) \
|
|
- static inline const std::u16string metaDescriptor_ = { DESCRIPTOR }; \
|
|
- static inline const std::u16string &GetDescriptor() \
|
|
+ static constexpr const char16_t *metaDescriptor_ = { DESCRIPTOR }; \
|
|
+ static inline const std::u16string GetDescriptor() \
|
|
{ \
|
|
return metaDescriptor_; \
|
|
}
|