From 4d44959fa6858bc55aeddd2839df14474ac94e58 Mon Sep 17 00:00:00 2001 From: NAUD Maxence <maxence.naud@cea.fr> Date: Mon, 29 Jan 2024 15:33:53 +0000 Subject: [PATCH] [Fix] #define syntax --- include/aidge/backend/StimulusImpl.hpp | 8 ++++---- include/aidge/stimuli/Stimulus.hpp | 6 +++--- src/stimuli/{Stimuli.cpp => Stimulus.cpp} | 0 3 files changed, 7 insertions(+), 7 deletions(-) rename src/stimuli/{Stimuli.cpp => Stimulus.cpp} (100%) diff --git a/include/aidge/backend/StimulusImpl.hpp b/include/aidge/backend/StimulusImpl.hpp index e875f9932..fbdf57b15 100644 --- a/include/aidge/backend/StimulusImpl.hpp +++ b/include/aidge/backend/StimulusImpl.hpp @@ -9,8 +9,8 @@ * ********************************************************************************/ -#ifndef AIDGE_CORE_BACKEND_STIMULIIMPL_H_ -#define AIDGE_CORE_BACKEND_STIMULIIMPL_H_ +#ifndef AIDGE_CORE_BACKEND_STIMULUSIMPL_H_ +#define AIDGE_CORE_BACKEND_STIMULUSIMPL_H_ #include <memory> @@ -25,8 +25,8 @@ class StimulusImpl { public: virtual ~StimulusImpl() noexcept = default; - virtual std::shared_ptr<Tensor> load() = 0; + virtual std::shared_ptr<Tensor> load() const = 0; }; } // namespace Aidge -#endif /* AIDGE_CORE_BACKEND_STIMULIIMPL_H_ */ +#endif /* AIDGE_CORE_BACKEND_STIMULUSIMPL_H_ */ diff --git a/include/aidge/stimuli/Stimulus.hpp b/include/aidge/stimuli/Stimulus.hpp index cc12f8844..80e7c76d4 100644 --- a/include/aidge/stimuli/Stimulus.hpp +++ b/include/aidge/stimuli/Stimulus.hpp @@ -9,8 +9,8 @@ * ********************************************************************************/ -#ifndef AIDGE_CORE_STIMULI_STIMULI_H_ -#define AIDGE_CORE_STIMULI_STIMULI_H_ +#ifndef AIDGE_CORE_STIMULI_STIMULUS_H_ +#define AIDGE_CORE_STIMULI_STIMULUS_H_ #include <string> #include <memory> @@ -104,4 +104,4 @@ public: }; } // namespace Aidge -#endif // STIMULI_H +#endif // AIDGE_CORE_STIMULI_STIMULUS_H_ diff --git a/src/stimuli/Stimuli.cpp b/src/stimuli/Stimulus.cpp similarity index 100% rename from src/stimuli/Stimuli.cpp rename to src/stimuli/Stimulus.cpp -- GitLab