replace the use of shared_ptr with ref
@@ -85,7 +85,7 @@ public:
/// Get a singleton of Common Diagnostic Stack that is used for regitering CollectorCallback and is used to call
/// to collect and upload data.
/// </summary>
-MATSDK_LIBABI std::shared_ptr<ICommonDiagnosticSystem> GetCommonDiagnosticSystem() noexcept;
+MATSDK_LIBABI ICommonDiagnosticSystem& GetCommonDiagnosticSystem() noexcept;
}
