Upgraded clang-format to 5.0 (#103)

This commit is contained in:
Tyler Veness
2017-11-19 15:15:41 -08:00
committed by Peter Johnson
parent 7847c69231
commit cf828ca858
5 changed files with 41 additions and 16 deletions

View File

@@ -109,8 +109,9 @@ THandle UnlimitedHandleResource<THandle, TStruct, typeValue, TMutex>::Allocate(
}
template <typename THandle, typename TStruct, int typeValue, typename TMutex>
inline std::shared_ptr<TStruct> UnlimitedHandleResource<
THandle, TStruct, typeValue, TMutex>::Get(THandle handle) {
inline std::shared_ptr<TStruct>
UnlimitedHandleResource<THandle, TStruct, typeValue, TMutex>::Get(
THandle handle) {
auto index =
handle.GetTypedIndex(static_cast<typename THandle::Type>(typeValue));
if (index < 0) return nullptr;