Crtc: fix throw message
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 27 May 2016 13:48:34 +0000 (16:48 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 27 May 2016 14:24:14 +0000 (17:24 +0300)
libkms++/crtc.cpp

index d50a78d647ff9e5df577ba6588c20df8ea4aa80a..436cdeeba584fdc512c39ea43f7f266946d02f47 100644 (file)
@@ -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)