Commit aca9232e authored by Franck Cecillon's avatar Franck Cecillon

Remove seg fault problem

parent fe775e0b
......@@ -622,7 +622,7 @@ bool DeviceDriver::isConfigured() const {
/*
* getRootDeviceType
*/
const std::string& DeviceDriver::getRootDeviceType() {
std::string DeviceDriver::getRootDeviceType() {
string type;
// Check during arborecence, if there if a rs232 or gpib function,
......
......@@ -493,7 +493,7 @@ public:
/**
* Give the root protcol of this driver (vme,rs233,gpib...)
*/
const std::string& getRootDeviceType();
std::string getRootDeviceType();
/**
* Write the protocol by the way of the parent method
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment