diff options
author | Jyri Sarha <jsarha@ti.com> | 2015-10-02 12:55:44 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-10-07 13:48:46 +0300 |
commit | 4a6bfde6cd19e9a7b98491761cfbfc491660cd89 (patch) | |
tree | cf03c84401b2d88ffd45bf33a5a73ef652e6f422 | |
parent | c811a9c44cc9685211494f2daa62c9272c96eb90 (diff) |
Fix exception string.
-rw-r--r-- | libkms++/card.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libkms++/card.cpp b/libkms++/card.cpp index 8438629..3a0f270 100644 --- a/libkms++/card.cpp +++ b/libkms++/card.cpp @@ -208,7 +208,7 @@ Crtc* Card::get_crtc_by_index(uint32_t idx) const if (crtc && crtc->idx() == idx) return crtc; } - throw invalid_argument(string("Crtc #") + to_string(idx) + "not found"); + throw invalid_argument(string("Crtc #") + to_string(idx) + " not found"); } Crtc* Card::get_crtc(uint32_t id) const { return dynamic_cast<Crtc*>(get_object(id)); } |