Commit dbfbb718 authored by Klaus Aehlig's avatar Klaus Aehlig

Add rnf definition for InstanceCpuLoad

...solving a semantical conflict of the merge.
Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
Reviewed-by: default avatarHrvoje Ribicic <riba@google.com>
parent 7c23902f
......@@ -155,6 +155,7 @@ instance NFData ClockTime where
instance NFData CollectorData where
rnf (CPULoadData x) = rnf x
rnf (InstanceCpuLoad x) = rnf x
#else
......@@ -168,6 +169,8 @@ form
instance NFData CollectorData where
rnf (CPULoadData x) = (x `using` seqFoldable rdeepseq) `seq` ()
rnf (InstanceCpuLoad x) = (x `using` seqFoldable (seqFoldable rdeepseq))
`seq` ()
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment