X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FCounters.h;h=3a04d0313b9d159dc9cb2a38f2335d1550da016c;hb=14001c49fe0fb3d95a0f69f63344e7ae59d28180;hp=e081ad21bbc8e8939ca2f22aa54309b49c850052;hpb=1f8bf874aad7ce9367568bfd6521f35cbb2cbe66;p=lyx.git diff --git a/src/Counters.h b/src/Counters.h index e081ad21bb..3a04d0313b 100644 --- a/src/Counters.h +++ b/src/Counters.h @@ -135,9 +135,9 @@ public: docstring counterLabel(docstring const & format, std::string const & lang) const; /// Are we in appendix? - bool appendix() const { return appendix_; }; + bool appendix() const { return appendix_; } /// Set the state variable indicating whether we are in appendix. - void appendix(bool a) { appendix_ = a; }; + void appendix(bool a) { appendix_ = a; } /// Returns the current enclosing float. std::string const & current_float() const { return current_float_; } /// Sets the current enclosing float. @@ -145,7 +145,7 @@ public: /// Are we in a subfloat? bool isSubfloat() const { return subfloat_; } /// Set the state variable indicating whether we are in a subfloat. - void isSubfloat(bool s) { subfloat_ = s; }; + void isSubfloat(bool s) { subfloat_ = s; } private: /** expands recusrsively any \\the macro in the * labelstring of \c counter. The \c lang code is used to