Skip to content

Commit

Permalink
make MemberRef constructible for compilers lacking c++20 support
Browse files Browse the repository at this point in the history
  • Loading branch information
sdkrystian committed Jun 2, 2023
1 parent cbb74a9 commit 478a3fd
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions include/mrdox/Metadata/Record.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,16 @@ struct MemberRef
{
SymbolID id;
Access access;

constexpr MemberRef() = default;

constexpr MemberRef(
const SymbolID& id_,
Access access_)
: id(id_)
, access(access_)
{
}
};

/** Bit constants used with Record metadata
Expand Down

0 comments on commit 478a3fd

Please sign in to comment.