gpio: implement more of server library for boot sysmodule client usage

This commit is contained in:
Michael Scire authored and SciresM committed 2020-11-14 03:37:51 -08:00
1 parent e1b5d81d65
commit bd3ab76fd2
26 files changed
+1162 -24

No files matched your search

@@ -59,7 +59,7 @@ namespace ams::ddsf {
template<typename T>
constexpr const T &SafeCastTo() const {
this->AssertCastableTo<T>();
return static_cast<T &>(*this);
return static_cast<const T &>(*this);
}
template<typename T>
@@ -71,7 +71,7 @@ namespace ams::ddsf {
template<typename T>
constexpr const T *SafeCastToPointer() const {
this->AssertCastableTo<T>();
return static_cast<T *>(this);
return static_cast<const T *>(this);
}
#if defined(AMS_BUILD_FOR_AUDITING) || defined(AMS_BUILD_FOR_DEBUGGING)