Skip to content

Commit

Permalink
Removing back() function as Swift Clang compiler doesn't support
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcolegate authored Sep 29, 2016
1 parent 677a7d9 commit 703c454
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/ibmras/monitoring/plugins/common/cpu/cpuplugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -564,10 +564,7 @@ bool CpuPlugin::read_process_cpu_time(uint64* proctime, const uint32 NS_PER_HZ)
// of the running process. This can pose a problem if the filename
// has a space (i.e. (Passenger NodeA)). This checks to read the stream
// until the end parenthese is found.
aCF.logMessage(info, dummyStr.append(" = dummyStr").c_str());
aCF.logMessage(info, dummyStr[dummyStr.length()]);
aCF.logMessage(info, dummyStr[dummyStr.length()-1]);
while(dummyStr[dummyStr.length() - 1] != ')') {
while(dummyStr[dummyStr.length()-1] != ')') {
filestream >> dummyStr;
}

Expand Down

0 comments on commit 703c454

Please sign in to comment.