Skip to content
Snippets Groups Projects
Verified Commit a032c184 authored by Wolfgang Merkt's avatar Wolfgang Merkt Committed by Justin Carpentier
Browse files

user-type: Ignore cast warnings

parent 41fcb5cb
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,11 @@ namespace eigenpy ...@@ -19,7 +19,11 @@ namespace eigenpy
{ {
static To run(const From & from) static To run(const From & from)
{ {
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wconversion"
#pragma GCC diagnostic ignored "-Wfloat-conversion"
return static_cast<To>(from); return static_cast<To>(from);
#pragma GCC diagnostic pop
} }
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment