We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eccdf03 commit 2acee72Copy full SHA for 2acee72
core/datamodel/src/ios/v1.rs
@@ -39,8 +39,10 @@ impl Ahap {
39
40
/// Splits AHAP data into two AHAPs with continuous and transient events respectively
41
pub fn into_continuous_and_transients_ahaps(self) -> (Ahap, Option<Ahap>) {
42
- let mut ahap_transients = Ahap::default();
43
- let mut ahap_continuous = Ahap::default();
+ let ahap_version = 1.0;
+
44
+ let mut ahap_transients = Ahap { version: ahap_version, ..Default::default() };
45
+ let mut ahap_continuous = Ahap { version: ahap_version, ..Default::default() };
46
47
for pattern in self.pattern {
48
match pattern {
0 commit comments