Adjust method signature to be more efficient.
[apps/agl-service-can-low-level.git] / CAN-binder / low-can-binding / diagnostic / diagnostic-message.hpp
index 675e189..ac427b9 100644 (file)
@@ -68,7 +68,7 @@ class diagnostic_message_t
                                                                                        DiagnosticResponseDecoder decoder, DiagnosticResponseCallback callback, bool supported);
 
                uint32_t get_pid();
-               const std::string& get_generic_name() const;
+               const std::string get_generic_name() const;
                const std::string get_name() const;
                float get_frequency() const;
                DiagnosticResponseDecoder get_decoder() const;