diff options
Diffstat (limited to 'include/cru/platform')
-rw-r--r-- | include/cru/platform/Resource.h | 2 | ||||
-rw-r--r-- | include/cru/platform/graphics/NullPainter.h | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/include/cru/platform/Resource.h b/include/cru/platform/Resource.h index 35a401be..d49e9bab 100644 --- a/include/cru/platform/Resource.h +++ b/include/cru/platform/Resource.h @@ -8,6 +8,6 @@ namespace cru::platform { struct CRU_PLATFORM_API IPlatformResource : virtual Interface { virtual std::string GetPlatformId() const = 0; - virtual std::string GetDebugString() { return {}; } + virtual std::string GetDebugString(); }; } // namespace cru::platform diff --git a/include/cru/platform/graphics/NullPainter.h b/include/cru/platform/graphics/NullPainter.h index 74d71c16..42c2763e 100644 --- a/include/cru/platform/graphics/NullPainter.h +++ b/include/cru/platform/graphics/NullPainter.h @@ -3,8 +3,7 @@ #include "cru/base/Base.h" namespace cru::platform::graphics { -class CRU_PLATFORM_GRAPHICS_API NullPainter : public Object, - public virtual IPainter { +class NullPainter : public Object, public virtual IPainter { public: NullPainter() = default; |