Skip to content

Commit ad4d9da

Browse files
committed
Remove unnecessary default constructor definitions
1 parent 1489854 commit ad4d9da

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

include/asm/rpn.hpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,6 @@ struct Expression {
2222
std::vector<uint8_t> rpn{}; // Bytes serializing the RPN expression
2323
uint32_t rpnPatchSize = 0; // Size the expression will take in the object file
2424

25-
Expression() = default;
26-
Expression(Expression &&) = default;
27-
#ifdef _MSC_VER
28-
// MSVC and WinFlexBison won't build without this...
29-
Expression(Expression const &) = default;
30-
#endif
31-
32-
Expression &operator=(Expression &&) = default;
33-
3425
bool isKnown() const { return data.holds<int32_t>(); }
3526
int32_t value() const { return data.get<int32_t>(); }
3627

src/asm/parser.y

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,6 @@
3131
struct StrFmtArgList {
3232
std::string format;
3333
std::vector<Either<uint32_t, std::string>> args;
34-
35-
StrFmtArgList() = default;
36-
StrFmtArgList(StrFmtArgList &&) = default;
37-
#ifdef _MSC_VER
38-
// MSVC and WinFlexBison won't build without this...
39-
StrFmtArgList(StrFmtArgList const &) = default;
40-
#endif
41-
42-
StrFmtArgList &operator=(StrFmtArgList &&) = default;
4334
};
4435
}
4536

0 commit comments

Comments
 (0)