Skip to content

Commit db9da46

Browse files
committed
fix C# warning
1 parent a39b5af commit db9da46

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

CMake/windows_config.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ macro(os_set_flags)
6868
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${ADDITIONAL_COMPILER_FLAGS}")
6969
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${ADDITIONAL_COMPILER_FLAGS}")
7070

71-
7271
set_directory_properties(PROPERTIES DIRECTORY third-party/ COMPILE_OPTIONS "/W0")
7372
set_source_files_properties(third-party/*.* PROPERTIES COMPILE_OPTIONS "/W0")
7473

wrappers/csharp/Intel.RealSense/Devices/AutoCalibratedDevice.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class AutoCalibratedDevice : CalibratedDevice
1111
internal AutoCalibratedDevice(IntPtr dev)
1212
: base(dev)
1313
{ }
14-
public static AutoCalibratedDevice FromDevice(Device dev)
14+
public static new AutoCalibratedDevice FromDevice(Device dev)
1515
{
1616
object error;
1717
if (NativeMethods.rs2_is_device_extendable_to(dev.Handle, Extension.AutoCalibratedDevice, out error) == 0)

0 commit comments

Comments
 (0)