mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
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:
@@ -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)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user