Created
September 6, 2014 15:40
-
-
Save badboy/078a980efe865f6992e7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git i/include/horizontime.h w/include/horizontime.h | |
index b3ccf89..2db2083 100644 | |
--- i/include/horizontime.h | |
+++ w/include/horizontime.h | |
@@ -50,7 +50,7 @@ struct horizontime_t | |
parentExecutionOrderId < other.parentExecutionOrderId ? false : | |
schedulingOrderId > other.schedulingOrderId ? true : // 5. criterion: scheduling order | |
schedulingOrderId < other.schedulingOrderId ? false : | |
- insertOrder > insertOrder; // 6. criterion: final tie breaker (needed during init) | |
+ insertOrder > other.insertOrder; // 6. criterion: final tie breaker (needed during init) | |
} | |
constexpr | |
@@ -61,7 +61,7 @@ struct horizontime_t | |
&& parentStartTime == other.parentStartTime | |
&& parentExecutionOrderId == other.parentExecutionOrderId | |
&& schedulingOrderId == other.schedulingOrderId | |
- && insertOrder == insertOrder; | |
+ && insertOrder == other.insertOrder; | |
} | |
constexpr bool operator!=(const horizontime_t & other) const { return !(*this == other); }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment