projects
/
platform
/
core
/
system
/
sessiond.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3906660
)
Fix an inappropriate usage of std::string_view
10/277010/2
accepted/tizen/unified/20220630.211956
submit/tizen/20220630.001059
author
Mateusz Majewski
<m.majewski2@samsung.com>
Wed, 29 Jun 2022 05:55:37 +0000
(07:55 +0200)
committer
Michal Bloch
<m.bloch@partner.samsung.com>
Wed, 29 Jun 2022 16:35:48 +0000
(16:35 +0000)
Change-Id: Ib78a4dee5588cd50ebda2666d9536acc8156de55
sessiond/src/fs_helpers.cpp
patch
|
blob
|
history
diff --git
a/sessiond/src/fs_helpers.cpp
b/sessiond/src/fs_helpers.cpp
index
9722335
..
4cd9597
100644
(file)
--- a/
sessiond/src/fs_helpers.cpp
+++ b/
sessiond/src/fs_helpers.cpp
@@
-294,7
+294,7
@@
std::vector<int> fs_helpers::get_user_list(const int session_uid) try
if (!fs::is_directory(entry.status()))
continue;
- std::string_view s_path = entry.path().filename().
string
();
+ std::string_view s_path = entry.path().filename().
native
();
/* NB: the std::stoi check below is insufficient,
* since you can create folders named +123 or 0x123. */