Uniformization between get_name() method of signals.
[apps/agl-service-can-low-level.git] / src / diagnostic / active-diagnostic-request.hpp
index 74a969b..f18282f 100644 (file)
@@ -92,7 +92,7 @@ public:
        uint32_t get_id() const;
        std::shared_ptr<can_bus_dev_t> get_can_bus_dev();
        DiagnosticRequestHandle* get_handle();
-       std::string& get_name();
+       const std::string get_name() const;
        static std::string& get_prefix();
        DiagnosticResponseDecoder& get_decoder();
        DiagnosticResponseCallback& get_callback();