Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Sofa/framework/Config/src/sofa/config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ typedef double SReal;
#endif

/// User-defined literals allowing to convert any floating-point to a SReal
constexpr SReal operator"" _sreal(long double real)
constexpr SReal operator""_sreal(long double real)
{
return static_cast<SReal>(real);
}
/// User-defined literals allowing to convert any integer to a SReal
constexpr SReal operator"" _sreal(unsigned long long int integer)
constexpr SReal operator""_sreal(unsigned long long int integer)
{
return static_cast<SReal>(integer);
}
Expand Down
1 change: 1 addition & 0 deletions Sofa/framework/Type/src/sofa/type/Mat.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include <sofa/type/Vec.h>

#include <iostream>
#include <algorithm>

namespace // anonymous
{
Expand Down