Skip to content

Commit b93dd83

Browse files
committed
Renamed files according to Sonar
1 parent 86171c0 commit b93dd83

6 files changed

Lines changed: 8 additions & 11 deletions

File tree

‎.pre-commit-config.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# See https://pre-commit.com for more information
22
# See https://pre-commit.com/hooks.html for more hooks
3+
default_stages: [commit]
34
repos:
45
- repo: https://github.com/pre-commit/pre-commit-hooks
56
rev: v4.4.0

ElementsExamples/ElementsExamples/callBackExample.h renamed to ElementsExamples/ElementsExamples/CallBackExample.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,11 @@
3232

3333
#include "ElementsKernel/Export.h"
3434

35-
namespace Elements {
36-
namespace Examples {
35+
namespace Elements::Examples {
3736

3837
ELEMENTS_API double testCallBack(std::vector<double> x, const std::function<double(std::vector<double>)>& fun);
3938

40-
} // namespace Examples
41-
} // namespace Elements
39+
} // namespace Elements::Examples
4240

4341
#endif // ELEMENTSEXAMPLES_ELEMENTSEXAMPLES_CALLBACKEXAMPLE_H_
4442

ElementsExamples/ElementsExamples/crashingFunction.h renamed to ElementsExamples/ElementsExamples/CrashingFunction.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,11 @@
2929

3030
#include "ElementsKernel/Export.h"
3131

32-
namespace Elements {
33-
namespace Examples {
32+
namespace Elements::Examples {
3433

3534
ELEMENTS_API void crashingFunction();
3635

37-
} // namespace Examples
38-
} // namespace Elements
36+
} // namespace Elements::Examples
3937

4038
#endif // ELEMENTSEXAMPLES_ELEMENTSEXAMPLES_CRASHINGFUNCTION_H_
4139

ElementsExamples/src/lib/default/callBackExample.cpp renamed to ElementsExamples/src/lib/default/CallBackExample.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
#include "ElementsKernel/Logging.h" // for Logging
2626

27-
#include "ElementsExamples/callBackExample.h"
27+
#include "ElementsExamples/CallBackExample.h"
2828

2929
using std::vector;
3030

ElementsExamples/src/lib/default/crashingFunction.cpp renamed to ElementsExamples/src/lib/default/CrashingFunction.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*
2020
*/
2121

22-
#include "ElementsExamples/crashingFunction.h"
22+
#include "ElementsExamples/CrashingFunction.h"
2323

2424
#include <stdexcept> // for the logic_error
2525

ElementsExamples/tests/src/Boost/crashingFunction_test.cpp renamed to ElementsExamples/tests/src/Boost/CrashingFunction_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*
2020
*/
2121

22-
#include "ElementsExamples/crashingFunction.h" // Access the objects you want to test
22+
#include "ElementsExamples/CrashingFunction.h" // Access the objects you want to test
2323

2424
#include <boost/test/unit_test.hpp>
2525
#include <iostream>

0 commit comments

Comments
 (0)