File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright 2014, Nicolas Mansard, LAAS-CNRS
2+ * Copyright 2014,2018 Nicolas Mansard and Justin Carpentier , LAAS-CNRS
33 *
44 * This file is part of eigenpy.
55 * eigenpy is free software: you can redistribute it and/or
1818#include < exception>
1919#include < string>
2020
21- #ifndef __eigenpy_Exception_hpp__
22- #define __eigenpy_Exception_hpp__
21+ #ifndef __eigenpy_exception_hpp__
22+ #define __eigenpy_exception_hpp__
2323
2424namespace eigenpy
2525{
@@ -30,7 +30,7 @@ namespace eigenpy
3030 {
3131 public:
3232 Exception () : message() {}
33- Exception (std::string msg) : message(msg) {}
33+ Exception (const std::string & msg) : message(msg) {}
3434 const char *what () const throw()
3535 {
3636 return this ->getMessage ().c_str ();
@@ -51,4 +51,4 @@ namespace eigenpy
5151
5252} // namespace eigenpy
5353
54- #endif // ifndef __eigenpy_Exception_hpp__
54+ #endif // ifndef __eigenpy_exception_hpp__
You can’t perform that action at this time.
0 commit comments