MCPcopy Create free account
hub / github.com/MhmRdd/NoHello / operator|

Function operator|

module/src/main/cpp/mountsinfo.cpp:51–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49
50
51inline MountFlags operator|(MountFlags a, MountFlags b) {
52 return static_cast<MountFlags>(
53 static_cast<std::underlying_type_t<MountFlags>>(a) |
54 static_cast<std::underlying_type_t<MountFlags>>(b)
55 );
56}
57
58inline MountFlags& operator|=(MountFlags& a, MountFlags b) {
59 a = a | b;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected