projects
/
platform
/
core
/
graphics
/
tizenvg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b22a25
)
common: code refactoring.
99/240999/1
submit/tizen/20200813.110752
author
Hermet Park
<chuneon.park@samsung.com>
Thu, 13 Aug 2020 11:05:37 +0000
(20:05 +0900)
committer
Hermet Park
<chuneon.park@samsung.com>
Thu, 13 Aug 2020 11:05:37 +0000
(20:05 +0900)
we can return nullptr directly here.
Change-Id: Ic1d987f2701d20ff1b69af2854f9cfee7e2fe065
src/lib/tvgLoaderMgr.cpp
patch
|
blob
|
history
diff --git
a/src/lib/tvgLoaderMgr.cpp
b/src/lib/tvgLoaderMgr.cpp
index
208ba79
..
a35dcd5
100644
(file)
--- a/
src/lib/tvgLoaderMgr.cpp
+++ b/
src/lib/tvgLoaderMgr.cpp
@@
-56,7
+56,7
@@
unique_ptr<Loader> LoaderMgr::loader(const char* path)
return unique_ptr<SvgLoader>(new SvgLoader);
#endif
cout << "Non supported format: " << path << endl;
- return
unique_ptr<Loader>(nullptr)
;
+ return
nullptr
;
}
#endif //_TVG_LOADER_MGR_CPP_
\ No newline at end of file