Skip to content

Commit

Permalink
Apply rule of 5 to Cite class
Browse files Browse the repository at this point in the history
  • Loading branch information
doxygen committed Apr 7, 2024
1 parent d2c5041 commit 90b0fd7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/cite.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
struct CiteInfo
{
virtual ~CiteInfo() = default;
CiteInfo() = default;
CiteInfo(const CiteInfo &) = delete;
CiteInfo &operator=(const CiteInfo &) = delete;
CiteInfo(CiteInfo &&) = delete;
CiteInfo &operator=(CiteInfo &&) = delete;
virtual QCString label() const = 0;
virtual QCString text() const = 0;
};
Expand Down

0 comments on commit 90b0fd7

Please sign in to comment.