Changeset bf13e711 in mainline


Ignore:
Timestamp:
2019-06-30T14:35:43Z (5 years ago)
Author:
Jaroslav Jindrak <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7480341
Parents:
0076b9d
Message:

cpp: make the launch enum class start at 1 as it is used in bitwise operations and launch::async & launch::deferred would cause problems otherwise

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/include/__bits/thread/async.hpp

    r0076b9d rbf13e711  
    3131
    3232#include <__bits/thread/future.hpp>
     33#include <__bits/thread/future_common.hpp>
    3334#include <__bits/thread/shared_state.hpp>
    3435#include <__bits/type_traits/result_of.hpp>
     
    4041    enum class launch
    4142    {
    42         async,
     43        async = 1,
    4344        deferred
    4445    };
Note: See TracChangeset for help on using the changeset viewer.