Skip to content

Commit f1379ec

Browse files
committed
Fix compiler warnings.
1 parent 32e600b commit f1379ec

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

src/editors/xrWeatherEditor/AssemblyInfo.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,3 @@ using namespace System::Security::Permissions;
3535
[assembly:ComVisible(false)];
3636

3737
[assembly:System::CLSCompliantAttribute(true)];
38-
39-
[assembly:SecurityPermission(SecurityAction::RequestMinimum, UnmanagedCode = true)];

src/editors/xrWeatherEditor/pch.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#include "Common/Platform.hpp"
1313
#include "Common/Common.hpp"
1414
#include "xrCommon/inlining_macros.h"
15+
#include "xrCore/xrstring.h"
1516
#pragma managed(pop)
1617

1718
#ifdef DEBUG

src/editors/xrWeatherEditor/property_float_enum_value_reference.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ void property_float_enum_value_reference::SetValue(Object ^ object)
5454
inherited::SetValue(safe_cast<ValuePair ^>(m_collection[0])->first);
5555
}
5656

57-
void property_float_enum_value_reference::Increment(float const % increment) {}
57+
void property_float_enum_value_reference::Increment(float value) {}

src/editors/xrWeatherEditor/property_float_enum_value_reference.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ ref class property_float_enum_value_reference : public property_float_reference
2929
property_float_enum_value_reference(float& value, pair* values, u32 const& value_count);
3030
virtual Object ^ GetValue() override;
3131
virtual void SetValue(Object ^ object) override;
32-
virtual void Increment(float const % increment) override;
32+
virtual void Increment(float value) override;
3333

3434
public:
3535
collection_type ^ m_collection;

0 commit comments

Comments
 (0)