Fix code style issues

refs #5219
This commit is contained in:
Gunnar Beutner 2017-05-09 09:01:08 +02:00
parent a43e8d6b2d
commit c611a31670
2 changed files with 5 additions and 5 deletions

View File

@ -241,12 +241,12 @@ void InfluxdbWriter::CheckResultHandler(const Checkable::Ptr& checkable, const C
SendPerfdata(tmpl, checkable, cr, ts);
}
String InfluxdbWriter::FormatInteger(const int val)
String InfluxdbWriter::FormatInteger(int val)
{
return Convert::ToString(val) + "i";
}
String InfluxdbWriter::FormatBoolean(const bool val)
String InfluxdbWriter::FormatBoolean(bool val)
{
return String(val);
}

View File

@ -82,8 +82,8 @@ private:
void FlushHandler(const String& body);
static String FormatInteger(const int val);
static String FormatBoolean(const bool val);
static String FormatInteger(int val);
static String FormatBoolean(bool val);
static String EscapeKey(const String& str);
static String EscapeField(const String& str);