2
0
mirror of https://github.com/boostorg/fiber.git synced 2026-02-20 14:42:21 +00:00

make timepoint_less operator const

This commit is contained in:
Oliver Kowalke
2016-09-04 10:22:46 +02:00
parent e9144fba8e
commit b4e27bccb1

View File

@@ -34,7 +34,7 @@ namespace fibers {
class BOOST_FIBERS_DECL scheduler {
public:
struct timepoint_less {
bool operator()( context const& l, context const& r) noexcept {
bool operator()( context const& l, context const& r) const noexcept {
return l.tp_ < r.tp_;
}
};