Skip to content

Commit

Permalink
Style cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mdemoret-nv committed Apr 5, 2024
1 parent f36c202 commit 4c84670
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cpp/mrc/include/mrc/coroutines/task_container.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@
*/

#pragma once

#include "mrc/coroutines/task.hpp"

#include <atomic>
#include <cstddef>
#include <cstdint>
#include <list>
#include <memory>
#include <mutex>
Expand Down
3 changes: 2 additions & 1 deletion cpp/mrc/src/public/coroutines/test_scheduler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ mrc::coroutines::Task<> TestScheduler::yield_until(std::chrono::time_point<std::
co_return co_await TestScheduler::Operation{this, time};
}

std::chrono::time_point<std::chrono::steady_clock> TestScheduler::time() {
std::chrono::time_point<std::chrono::steady_clock> TestScheduler::time()
{
return m_time;
}

Expand Down
6 changes: 4 additions & 2 deletions cpp/mrc/tests/coroutines/test_task_container.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,19 @@
* limitations under the License.
*/

#include "mrc/coroutines/scheduler.hpp"
#include "mrc/coroutines/sync_wait.hpp"
#include "mrc/coroutines/task.hpp"
#include "mrc/coroutines/task_container.hpp"
#include "mrc/coroutines/test_scheduler.hpp"
#include "mrc/coroutines/when_all.hpp"

#include <gtest/gtest.h>

#include <chrono> // for time_point, duration
#include <coroutine> // for coroutine_handle, suspe...
#include <memory>
#include <ratio> // for ratio
#include <thread>
#include <vector> // for vector

class TestCoroTaskContainer : public ::testing::Test
{};
Expand Down

0 comments on commit 4c84670

Please sign in to comment.