aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-01-02 09:00:05 -0500
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-01-02 10:23:41 -0500
commit23413c0d4448ebc5c51b6d98df82070c32af7666 (patch)
tree61fb7dc24ebbf6e679deeba05278c5380cb35025 /src/common
parent80f49ed9f1299a09cf692a132aed15d2268e9fa4 (diff)
general: Fix various spelling errors
Diffstat (limited to 'src/common')
-rw-r--r--src/common/page_table.h2
-rw-r--r--src/common/swap.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/common/page_table.h b/src/common/page_table.h
index 0c14e6433d..61c5552e09 100644
--- a/src/common/page_table.h
+++ b/src/common/page_table.h
@@ -90,7 +90,7 @@ struct PageTable {
PageTable& operator=(PageTable&&) noexcept = default;
/**
- * Resizes the page table to be able to accomodate enough pages within
+ * Resizes the page table to be able to accommodate enough pages within
* a given address space.
*
* @param address_space_width_in_bits The address size width in bits.
diff --git a/src/common/swap.h b/src/common/swap.h
index 7665942a20..a80e191dc2 100644
--- a/src/common/swap.h
+++ b/src/common/swap.h
@@ -394,7 +394,7 @@ public:
template <typename S, typename T2, typename F2>
friend S operator%(const S& p, const swapped_t v);
- // Arithmetics + assignements
+ // Arithmetics + assignments
template <typename S, typename T2, typename F2>
friend S operator+=(const S& p, const swapped_t v);
@@ -451,7 +451,7 @@ S operator%(const S& i, const swap_struct_t<T, F> v) {
return i % v.swap();
}
-// Arithmetics + assignements
+// Arithmetics + assignments
template <typename S, typename T, typename F>
S& operator+=(S& i, const swap_struct_t<T, F> v) {
i += v.swap();