Skip to content

Commit d8e355a

Browse files
committed
fixed build bugs
1 parent 928c0ba commit d8e355a

2 files changed

Lines changed: 10 additions & 13 deletions

File tree

include/anira/scheduler/Context.h

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,16 @@ namespace anira {
5757
class ANIRA_API Context{
5858
public:
5959

60+
/**
61+
* @brief Constructor that initializes the context with specified configuration
62+
*
63+
* Creates a new context instance with the provided configuration settings.
64+
* This constructor is should not be called directly. Use
65+
* get_instance() to obtain a context instance.
66+
*
67+
* @param context_config Configuration settings for thread pool size, backend preferences, etc.
68+
*/
69+
Context(const ContextConfig& context_config);
6070

6171
/**
6272
* @brief Destructor that cleans up all context resources
@@ -182,17 +192,6 @@ class ANIRA_API Context{
182192
static std::vector<std::shared_ptr<SessionElement>>& get_sessions();
183193

184194
private:
185-
/**
186-
* @brief Constructor that initializes the context with specified configuration
187-
*
188-
* Creates a new context instance with the provided configuration settings.
189-
* This constructor is private and should not be called directly. Use
190-
* get_instance() to obtain a context instance.
191-
*
192-
* @param context_config Configuration settings for thread pool size, backend preferences, etc.
193-
*/
194-
Context(const ContextConfig& context_config);
195-
196195
inline static std::shared_ptr<Context> m_context = nullptr; ///< Singleton instance of the context
197196
inline static ContextConfig m_context_config; ///< Configuration used for the current context instance
198197

include/anira/utils/InferenceBackend.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33

44
namespace anira {
55

6-
namespace anira {
7-
86
/**
97
* @brief Enumeration of supported neural network inference backends
108
*

0 commit comments

Comments
 (0)