Skip to content

Commit

Permalink
silent msvc warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jlblancoc committed Jul 2, 2023
1 parent 2278da0 commit 971c59a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/core/include/mrpt/core/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#pragma warning(disable : 4275) // DLL export class derived from STL
// Warnings are emited even if a DLL export class contains a *private* STL field
#pragma warning(disable : 4251)
// warning C4305: 'initializing': truncation from 'double' to 'float'
#pragma warning(disable : 4305)

#if (_MSC_VER >= 1400)
// MS believes they have the right to deprecate functions in the C++ Standard
Expand Down

0 comments on commit 971c59a

Please sign in to comment.