Skip to content

Commit

Permalink
ResourceManager: Avoid warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Oberon00 committed Jun 27, 2013
1 parent f894c30 commit 63a9f4a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ressys/ResourceManager.inl
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,7 @@ typename ResourceManager<ResT>::Ptr ResourceManager<ResT>::get(
auto result = tryGet(name);
if (!result)
LOG_THROW(jd::ResourceError("resource \"" + name + "\" is not loaded"));
else
return result;
return result;
}

template<typename ResT>
Expand Down

0 comments on commit 63a9f4a

Please sign in to comment.