mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-05-17 19:31:35 +02:00
Fixed a compilation warning/error.
This commit is contained in:
parent
1b138e8544
commit
e91a68cb9e
@ -726,6 +726,8 @@ Value::asUInt() const
|
|||||||
return UInt(value_.uint_);
|
return UInt(value_.uint_);
|
||||||
case realValue:
|
case realValue:
|
||||||
return UInt( value_.real_ );
|
return UInt( value_.real_ );
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
JSON_ASSERT_UNREACHABLE;
|
JSON_ASSERT_UNREACHABLE;
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user