diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-05-27 16:48:34 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-05-27 17:24:14 +0300 |
commit | 6c5a32ba6ec851f275d6af076e73811426fe4ed5 (patch) | |
tree | 0513dcb3f20f450bfa4a5db0f442ea14361da41c | |
parent | a5db43b30b0e2a58b13548ef27a9b754d04ba492 (diff) |
Crtc: fix throw message
-rw-r--r-- | libkms++/crtc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libkms++/crtc.cpp b/libkms++/crtc.cpp index d50a78d..436cdee 100644 --- a/libkms++/crtc.cpp +++ b/libkms++/crtc.cpp @@ -92,7 +92,7 @@ Plane* Crtc::get_primary_plane() return p; } - throw invalid_argument("No primary plane for crtc " + id()); + throw invalid_argument(string("No primary plane for crtc ") + to_string(id())); } int Crtc::page_flip(Framebuffer& fb, void *data) |