Skip to content

Commit d9a57a1

Browse files
committed
Adjust project settings to require explicit usings
1 parent 6ae136d commit d9a57a1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

EasyOpenVR.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
5-
<ImplicitUsings>enable</ImplicitUsings>
5+
<ImplicitUsings>disable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<LangVersion>12.0</LangVersion>
88
</PropertyGroup>

EasyOpenVRSingleton.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ public void RegisterEvents(EVREventType[] types, Action<VREvent_t> action)
392392

393393
public void UnregisterEvent(EVREventType type)
394394
{
395-
UnregisterEvents(new EVREventType[1] { type });
395+
UnregisterEvents([type]);
396396
}
397397

398398
public void UnregisterEvents(EVREventType[] types)

0 commit comments

Comments
 (0)