projects
/
platform
/
core
/
uifw
/
e-tizen-testcase.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fa2cda
)
auxHintEventItem: using operator== instead of strncmp
55/257555/1
author
Junseok, Kim
<juns.kim@samsung.com>
Tue, 27 Apr 2021 11:12:32 +0000
(20:12 +0900)
committer
Junseok, Kim
<juns.kim@samsung.com>
Tue, 27 Apr 2021 11:12:32 +0000
(20:12 +0900)
Change-Id: I4dc1dc868c53a0d410150cf2541bfec9713b97e8
src/e_test_event.h
patch
|
blob
|
history
diff --git
a/src/e_test_event.h
b/src/e_test_event.h
index
811e55a
..
9f46f36
100644
(file)
--- a/
src/e_test_event.h
+++ b/
src/e_test_event.h
@@
-47,7
+47,7
@@
public:
}
Eina_Bool isSameID(int id) { return id == this->id; }
- Eina_Bool isSameHint(std::string hint) { return
!strncmp(hint.c_str(), this->hint.c_str(), hint.size())
; }
+ Eina_Bool isSameHint(std::string hint) { return
hint == this->hint
; }
Eina_Bool isSameVal(std::string val) { return val == this->val; }
int getID() { return this->id; }
std::string getHint() { return this->hint; }