setting_helpers: replace another ostringstream by simple string

Origin commit data
------------------
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
This commit is contained in:
vanhofen
2018-02-10 21:20:33 +01:00
parent af7bddf797
commit 617d4e97f9

View File

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