Fix decimal build.

This commit is contained in:
Stephen Chung
2021-05-03 13:57:47 +08:00
parent c749bbb653
commit c61b118037
3 changed files with 12 additions and 8 deletions

View File

@@ -705,7 +705,7 @@ impl Clone for Dynamic {
#[cfg(not(feature = "no_float"))]
Union::Float(value, tag, _) => Self(Union::Float(value, tag, AccessMode::ReadWrite)),
#[cfg(feature = "decimal")]
Union::Decimal(ref value, _, _) => {
Union::Decimal(ref value, tag, _) => {
Self(Union::Decimal(value.clone(), tag, AccessMode::ReadWrite))
}
#[cfg(not(feature = "no_index"))]