setting_helpers: replace another ostringstream by simple string

Origin commit data
------------------
Branch: ni/coolstream
Commit: 0919ebe2df
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-02-10 (Sat, 10 Feb 2018)

Origin message was:
------------------
- setting_helpers: replace another ostringstream by simple string

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2018-02-10 21:20:33 +01:00
parent 17c8ad79a4
commit 02db8d5f8a

View File

@@ -143,11 +143,9 @@ bool CTouchFileNotifier::changeNotify(const neutrino_locale_t, void * data)
bool CFlagFileNotifier::changeNotify(const neutrino_locale_t, void * data)
{
std::ostringstream buf;
buf.str("");
buf << FLAGDIR << "/." << filename;
std::string flagfile = buf.str();
std::string flagfile = FLAGDIR;
flagfile += "/.";
flagfile += filename;
if ((*(int *)data) != 0)
{