mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-13 19:44:28 +00:00
common: code refactoring.
we can return nullptr directly here. Change-Id: Ic1d987f2701d20ff1b69af2854f9cfee7e2fe065
This commit is contained in:
parent
3b22a25798
commit
9dd3cc5edc
1 changed files with 1 additions and 1 deletions
|
@ -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_
|
Loading…
Add table
Reference in a new issue