aboutsummaryrefslogtreecommitdiff
path: root/libk/types.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2021-02-10 22:53:50 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2021-02-10 22:53:50 +0200
commit6f54758123abe9f137922df1e8d7e33835e9a9f2 (patch)
treee21b553a826c7ae67cc4b41ffde921e39ed4022b /libk/types.h
parentAdd some compiler warnings (diff)
downloadkernel.cpp-6f54758123abe9f137922df1e8d7e33835e9a9f2.tar.xz
Update VGA cursor position on printk
Diffstat (limited to 'libk/types.h')
-rw-r--r--libk/types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libk/types.h b/libk/types.h
index 4018ab8..599f852 100644
--- a/libk/types.h
+++ b/libk/types.h
@@ -19,6 +19,7 @@ template <class T, T v>
struct integral_constant {
constexpr T operator()() const { return v; }
constexpr operator T() const { return v; }
+ static const T value = v;
};
/* is_same */