diff options
-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) |