From 5369b63e33002727019dc3a5e033d33be6c867f5 Mon Sep 17 00:00:00 2001
From: Justin Carpentier <jcarpent@laas.fr>
Date: Wed, 29 Aug 2018 13:19:54 +0200
Subject: [PATCH] [Exception] clean naming

---
 include/eigenpy/exception.hpp | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/include/eigenpy/exception.hpp b/include/eigenpy/exception.hpp
index 96702c90..ddec8006 100644
--- a/include/eigenpy/exception.hpp
+++ b/include/eigenpy/exception.hpp
@@ -1,5 +1,5 @@
 /*
- * Copyright 2014, Nicolas Mansard, LAAS-CNRS
+ * Copyright 2014,2018 Nicolas Mansard and Justin Carpentier, LAAS-CNRS
  *
  * This file is part of eigenpy.
  * eigenpy is free software: you can redistribute it and/or
@@ -18,8 +18,8 @@
 #include <exception>
 #include <string>
 
-#ifndef __eigenpy_Exception_hpp__
-#define __eigenpy_Exception_hpp__
+#ifndef __eigenpy_exception_hpp__
+#define __eigenpy_exception_hpp__
 
 namespace eigenpy
 {
@@ -30,7 +30,7 @@ namespace eigenpy
   {
   public:
     Exception() : message() {}
-    Exception(std::string msg) : message(msg) {}
+    Exception(const std::string & msg) : message(msg) {}
     const char *what() const throw()
     {
       return this->getMessage().c_str();
@@ -51,4 +51,4 @@ namespace eigenpy
 
 } // namespace eigenpy
 
-#endif // ifndef __eigenpy_Exception_hpp__
+#endif // ifndef __eigenpy_exception_hpp__
-- 
GitLab