lordgamez commented on code in PR #1642:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1642#discussion_r1311766434
##########
extensions/procfs/CpuStat.h:
##########
@@ -34,7 +34,7 @@ class CpuStatData {
public:
static std::optional<CpuStatData> parseCpuStatLine(std::istream& iss);
- auto operator<=>(const CpuStatData& rhs) const = default;
+ bool operator>(const CpuStatData& rhs) const;
Review Comment:
I'm not sure if we can, the compiler complains about not having a viable
three-way comparison function for the members, which are of
`SystemClockDuration` aka `std::chrono::duration<uint64_t, std::ratio<1, HZ>>`
type. If that's not comparable according to clang I don't think we can do much
about it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]