Skip to content

Commit

Permalink
Formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
kring committed Jul 3, 2024
1 parent 9f1c89c commit a22b842
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Source/CesiumRuntime/Private/CesiumMetadataValue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ int64 UCesiumMetadataValueBlueprintLibrary::GetInteger64(
int64 DefaultValue) {
return std::visit(
[DefaultValue](auto value) -> int64 {
return CesiumGltf::MetadataConversions<int64_t, decltype(value)>::convert(
value)
.value_or(DefaultValue);
return CesiumGltf::MetadataConversions<int64_t, decltype(value)>::
convert(value)
.value_or(DefaultValue);
},
Value._value);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ int64 UCesiumPropertyArrayBlueprintLibrary::GetInteger64(
return defaultValue;
}
auto value = v[index];
return CesiumGltf::MetadataConversions<int64_t, decltype(value)>::convert(
value)
.value_or(defaultValue);
return CesiumGltf::MetadataConversions<int64_t, decltype(value)>::
convert(value)
.value_or(defaultValue);
},
array._value);
}
Expand Down

0 comments on commit a22b842

Please sign in to comment.