mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-27 02:01:42 +00:00
Upgraded clang-format to 5.0 (#103)
This commit is contained in:
committed by
Peter Johnson
parent
7847c69231
commit
cf828ca858
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user