diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2016-06-17 11:41:10 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2016-06-17 11:41:10 +0200 |
commit | 520e28e7a72f288f04d04d86d4e7560d78159820 (patch) | |
tree | 6f32fc487d2bb0305e03220610d574f4af22075b /include/internal/routine.h | |
parent | afe8852eaae20fbdd3f38e9cac63a9162251d90b (diff) |
Moved the ErrorIn function from the Routine class to the utilities header
Diffstat (limited to 'include/internal/routine.h')
-rw-r--r-- | include/internal/routine.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/internal/routine.h b/include/internal/routine.h index 0b53b82e..0f64c479 100644 --- a/include/internal/routine.h +++ b/include/internal/routine.h @@ -32,9 +32,6 @@ template <typename T> class Routine { public: - // Helper functions which check for errors in the status code - static constexpr bool ErrorIn(const StatusCode s) { return (s != StatusCode::kSuccess); } - // Base class constructor explicit Routine(Queue &queue, EventPointer event, const std::string &name, const std::vector<std::string> &routines, const Precision precision); |