Skip to content
Snippets Groups Projects
Commit 60beb61f authored by Marcel Loose's avatar Marcel Loose :sunglasses:
Browse files

Bug 1361: Added missing include. Fixed uint vs. size_t bug.

parent 44883010
No related branches found
No related tags found
No related merge requests found
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <lofar_config.h> #include <lofar_config.h>
#include <Common/LofarLogger.h> #include <Common/LofarLogger.h>
#include <Common/StringUtil.h> #include <Common/StringUtil.h>
#include <climits>
#include <unistd.h> #include <unistd.h>
#include "APL/APLCommon/APLUtilities.h" #include "APL/APLCommon/APLUtilities.h"
......
...@@ -247,7 +247,7 @@ string createPropertySetName(const string& propSetMask, ...@@ -247,7 +247,7 @@ string createPropertySetName(const string& propSetMask,
const string& realDPname) const string& realDPname)
{ {
string psName(propSetMask); // editable copy string psName(propSetMask); // editable copy
uint pos; string::size_type pos;
// when name contains @ring@_@station@ cut out this marker and prepend hostname // when name contains @ring@_@station@ cut out this marker and prepend hostname
// stationname+: -> LOFAR_ObsSW_@ring@_@station@_CalCtrl_xxx --> CS010:LOFAR_ObsSW_CalCtrl_xxx // stationname+: -> LOFAR_ObsSW_@ring@_@station@_CalCtrl_xxx --> CS010:LOFAR_ObsSW_CalCtrl_xxx
if ((pos = psName.find("@ring@_@station@_")) != string::npos) { if ((pos = psName.find("@ring@_@station@_")) != string::npos) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment