We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8b03bf commit 1a0ed1aCopy full SHA for 1a0ed1a
jbmc/src/java_bytecode/expr2java.h
@@ -58,7 +58,7 @@ std::string type2java(const typet &type, const namespacet &ns);
58
template <typename float_type>
59
std::string floating_point_to_java_string(float_type value)
60
{
61
- const auto is_float = std::is_same<float_type, float>::value;
+ static const bool is_float = std::is_same<float_type, float>::value;
62
static const std::string class_name = is_float ? "Float" : "Double";
63
if(std::isnan(value))
64
return class_name + ".NaN";
0 commit comments