From 90f5702f411c7be080f2f4f8be96091bf8830b08 Mon Sep 17 00:00:00 2001 From: john30 Date: Sun, 20 Sep 2015 11:23:02 +0200 Subject: [PATCH] made trim static --- src/lib/ebus/filereader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ebus/filereader.h b/src/lib/ebus/filereader.h index 0b873305..d89ffaa8 100644 --- a/src/lib/ebus/filereader.h +++ b/src/lib/ebus/filereader.h @@ -185,7 +185,7 @@ public: * Left and right trim the string. * @param str the @a string to trim. */ - virtual void trim(string& str) { + static void trim(string& str) { size_t pos = str.find_first_not_of(" \t"); if (pos!=string::npos) { str.erase(0, pos);