Skip to content

Commit

Permalink
Update value_type conversions in types.cpp
Browse files Browse the repository at this point in the history
dumb dumb me
  • Loading branch information
tokox committed Mar 30, 2024
1 parent c2c1d1e commit 2c87fb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ value_type any_to_value_type(const std::any& v)
return Null;
else if (v.type() == typeid(bool))
return Bool;
else if (v.type() == typeid(int))
else if (v.type() == typeid(long long int))
return Int;
else if (v.type() == typeid(float))
else if (v.type() == typeid(long double))
return Float;
else if (v.type() == typeid(std::string))
return String;
Expand Down

0 comments on commit 2c87fb0

Please sign in to comment.