Skip to content

Commit

Permalink
tests: use explicit namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
ilg-ul committed Dec 6, 2023
1 parent 3878977 commit 3f63f33
Show file tree
Hide file tree
Showing 2 changed files with 193 additions and 202 deletions.
8 changes: 4 additions & 4 deletions tests/src/sample-test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <unistd.h>
#include <stdio.h>

using namespace micro_os_plus;
namespace os = micro_os_plus;

// ----------------------------------------------------------------------------

Expand Down Expand Up @@ -58,12 +58,12 @@ class child
public:
// Intrusive node used to link this child to the registry list.
// Must be public.
utils::double_list_links registry_links_;
os::utils::double_list_links registry_links_;
};

using children_list
= utils::intrusive_list<child, decltype (child::registry_links_),
&child::registry_links_>;
= os::utils::intrusive_list<child, decltype (child::registry_links_),
&child::registry_links_>;

int
main ([[maybe_unused]] int argc, [[maybe_unused]] char* argv[])
Expand Down
Loading

0 comments on commit 3f63f33

Please sign in to comment.