projects
/
platform
/
core
/
uifw
/
smartreply-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d727bfa
)
Access it by reference to prevent unnecessary copies
83/287083/1
author
Jihoon Kim
<jihoon48.kim@samsung.com>
Fri, 13 Jan 2023 09:45:51 +0000
(18:45 +0900)
committer
Jihoon Kim
<jihoon48.kim@samsung.com>
Thu, 19 Jan 2023 10:50:13 +0000
(19:50 +0900)
Change-Id: Ia2575bd4277cd126d3be6cb34d45327841e89d52
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/request_mgr.cpp
patch
|
blob
|
history
diff --git
a/src/request_mgr.cpp
b/src/request_mgr.cpp
index
d5bbbd5
..
065a2f2
100644
(file)
--- a/
src/request_mgr.cpp
+++ b/
src/request_mgr.cpp
@@
-245,7
+245,7
@@
void smr::request_mgr::signal_unsubscribe(int64_t subscription_id)
void smr::request_mgr::string_to_unicode(vector<string>& replies) {
for (vector<string>::iterator it = replies.begin(); it != replies.end(); ++it) {
- for (
auto
emoticon : emoticons) {
+ for (
const auto&
emoticon : emoticons) {
size_t idx = it->find(emoticon.first);
if (idx != string::npos) {
int length;