]> git.lyx.org Git - lyx.git/blobdiff - src/author.h
Move #includes out of header files.
[lyx.git] / src / author.h
index 25421c6a1e51d752b313cd31579c61398431eef5..b06b9611e9b66f1bdc5b69853d93d9ad14647eac 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 /**
  * \file author.h
  * This file is part of LyX, the document processor.
@@ -5,7 +6,7 @@
  *
  * \author John Levon
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef AUTHOR_H
@@ -20,8 +21,8 @@ class Author {
 public:
        Author() {}
 
-       Author(string n, string e)
-               : name_(n), email_(e) {}
+       Author(string const & name, string const & email)
+               : name_(name), email_(email) {}
 
        string const name() const {
                return name_;