diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-04-25 12:00:05 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-04-25 17:16:16 +0300 |
commit | 0839fe5b1e40baee1e219c939cffcbd72065e9fb (patch) | |
tree | 762bb056273cc894dd73ee1e9bae5d0a19481383 /libkms++ | |
parent | c6726616b168d898b522f95d18544cedda202eba (diff) |
Videomode is a struct, not class, so declare it as one
Diffstat (limited to 'libkms++')
-rw-r--r-- | libkms++/decls.h | 2 | ||||
-rw-r--r-- | libkms++/helpers.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libkms++/decls.h b/libkms++/decls.h index 851a8c2..1bb968f 100644 --- a/libkms++/decls.h +++ b/libkms++/decls.h @@ -14,5 +14,5 @@ class DrmObject; class PageFlipHandlerBase; class Plane; class Property; -class Videomode; +struct Videomode; } diff --git a/libkms++/helpers.h b/libkms++/helpers.h index ac640e8..4eb597c 100644 --- a/libkms++/helpers.h +++ b/libkms++/helpers.h @@ -5,7 +5,7 @@ namespace kms { -class Videomode; +struct Videomode; Videomode drm_mode_to_video_mode(const drmModeModeInfo& drmmode); drmModeModeInfo video_mode_to_drm_mode(const Videomode& mode); |