Skip to content

Commit

Permalink
meta: Fixed namespace coding style is some files.
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepy-monax committed Aug 9, 2023
1 parent 887fe71 commit 9ff6373
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 11 deletions.
3 changes: 2 additions & 1 deletion src/kernel/hal-x86_64/cpuid.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,5 @@ union Cpuid {
return cpuid(0x0d, 0).ecx;
}
};
}; // namespace x86_64

} // namespace x86_64
2 changes: 1 addition & 1 deletion src/libs/karm-base/atomic.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ struct Atomic {
}
};

}; // namespace Karm
} // namespace Karm
2 changes: 1 addition & 1 deletion src/libs/karm-base/inert.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ union Inert {

static_assert(Meta::Trivial<Inert<isize>>);

}; // namespace Karm
} // namespace Karm
2 changes: 1 addition & 1 deletion src/libs/karm-base/keywords.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ bool operator==(None, T *ptr) {
return ptr == nullptr;
}

}; // namespace Karm
} // namespace Karm
2 changes: 1 addition & 1 deletion src/libs/karm-base/std.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#ifndef KARM_NO_TOP_LEVEL_USING

namespace Karm {
}; // namespace Karm
} // namespace Karm

using namespace Karm;

Expand Down
2 changes: 1 addition & 1 deletion src/libs/karm-gfx/path.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ enum PathOpFlags {

FlagsEnum$(PathOpFlags);

}; // namespace _Impl
} // namespace _Impl

struct Path {
using Code = _Impl::PathOpCode;
Expand Down
2 changes: 1 addition & 1 deletion src/libs/karm-media/font.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace Karm::Gfx {

struct Context;

}; // namespace Karm::Gfx
} // namespace Karm::Gfx

namespace Karm::Media {

Expand Down
2 changes: 1 addition & 1 deletion src/libs/karm-meta/signess.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,4 @@ struct _MakeUnsigned<unsigned long long> {
template <typename T>
using MakeUnsigned = typename _MakeUnsigned<T>::Type;

}; // namespace Karm::Meta
} // namespace Karm::Meta
2 changes: 1 addition & 1 deletion src/libs/karm-test/macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ namespace Karm::Test {

#define expectGteq$(LHS, RHS) __expect$(LHS, RHS, gteq)

}; // namespace Karm::Test
} // namespace Karm::Test
2 changes: 1 addition & 1 deletion src/libs/karm-test/test.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ struct Test : Meta::Static {
}
};

}; // namespace Karm::Test
} // namespace Karm::Test
2 changes: 1 addition & 1 deletion src/specs/efi/spec.h
Original file line number Diff line number Diff line change
Expand Up @@ -668,4 +668,4 @@ struct FileProtocol {
Method<> flush;
};

}; // namespace Efi
} // namespace Efi

0 comments on commit 9ff6373

Please sign in to comment.