Skip to content

Commit

Permalink
fix run loop namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
daronenko committed Sep 17, 2024
1 parent 336f1f1 commit ccffa52
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions source/fiber/sched/run_loop.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#include "run_loop.hpp"

namespace exe::sched {
#include <fiber/sched/task/task.hpp>

namespace fiber::sched {

void RunLoop::Submit(task::TaskBase* task) {
tasks_.PushBack(task);
Expand All @@ -26,4 +28,4 @@ size_t RunLoop::Run() {
return completed;
}

} // namespace exe::sched
} // namespace fiber::sched
4 changes: 2 additions & 2 deletions source/fiber/sched/run_loop.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include <cstdint>

namespace exe::sched {
namespace fiber::sched {

// Single-threaded task queue

Expand Down Expand Up @@ -53,4 +53,4 @@ class RunLoop : public task::IScheduler {
wheels::IntrusiveForwardList<task::TaskBase> tasks_;
};

} // namespace exe::sched
} // namespace fiber::sched

0 comments on commit ccffa52

Please sign in to comment.