]> git.lyx.org Git - features.git/blobdiff - src/Author.h
The way this was done here is inconsistent with how it is done
[features.git] / src / Author.h
index 7d9f3ddf8e04f911b09283d08771094c13e5c0da..f798b041b2df5e4b00e6eb62d8e794ae7e0357a3 100644 (file)
@@ -22,7 +22,7 @@ namespace lyx {
 class Author {
 public:
        ///
-       Author() {}
+       Author() : used_(false), buffer_id_(0) {};
        ///
        Author(docstring const & name, docstring const & email);
        ///
@@ -67,10 +67,10 @@ public:
        ///
        Author const & get(int id) const;
        ///
-       typedef std::vector<Author> Authors;
-       ///
        void sort();
        ///
+       typedef std::vector<Author> Authors;
+       ///
        Authors::const_iterator begin() const;
        ///
        Authors::const_iterator end() const;