Skip to content
Snippets Groups Projects
Commit 8beff75d authored by Claudio Scafuri's avatar Claudio Scafuri :speech_balloon:
Browse files

clean compltation with supervisedid 2.0.0, fix energy switch procedure

parent 1e129d65
No related branches found
No related tags found
1 merge request!1Derivedprivilegs
Subproject commit 058cc4f4dce21260bf99a2a795f2a2d8d3095023
Subproject commit 2c5fa6e4e7672d4dc84b773533062cce1d6ef969
......@@ -87,7 +87,7 @@
namespace TwinApuId_ns
{
/*----- PROTECTED REGION ID(TwinApuId::namespace_starting) ENABLED START -----*/
using namespace SupervisedID_ns;
// static initializations
/*----- PROTECTED REGION END -----*/ // TwinApuId::namespace_starting
......@@ -609,7 +609,7 @@ void TwinApuId::write_Enabled(Tango::WAttribute &attr)
attr.get_write_value(w_val);
/*----- PROTECTED REGION ID(TwinApuId::write_Enabled) ENABLED START -----*/
int priv=caller_privileges();
privilege priv=caller_privileges();
if (priv < PRIVILEGED){
INFO_STREAM << "Enabled from "<< clientAddress <<" REJECTED"<<endl;
TangoSys_OMemStream o;
......
......@@ -500,7 +500,7 @@ void TwinApuIdClass::write_class_property()
Tango::DbData data;
string classname = get_name();
string header;
string::size_type start, end;
//string::size_type start, end;
// Put title
Tango::DbDatum title("ProjectTitle");
......
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