C++ docs: minor cleanup in generated code sample

Encode the return type only once, not twice
This commit is contained in:
Simon Hausmann 2021-07-02 22:13:52 +02:00 committed by GitHub
parent 4c3da0ebc2
commit 5a7ac1735d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,7 +61,7 @@ public:
inline void hide () const; inline void hide () const;
/// Getter for the `counter` property /// Getter for the `counter` property
inline int get_counter () const -> int; inline int get_counter () const;
/// Setter for the `counter` property /// Setter for the `counter` property
inline void set_counter (const int &value) const; inline void set_counter (const int &value) const;