diff --git a/utils.h b/utils.h index e907e1579a..198db9253f 100644 --- a/utils.h +++ b/utils.h @@ -120,12 +120,7 @@ enum ShadeMode { ShadeActivated // "shaded", but visible due to alt+tab to the window }; -template -class ScopedCPointer : public QScopedPointer -{ -public: - ScopedCPointer(T *p = 0) : QScopedPointer(p) {} -}; +template using ScopedCPointer = QScopedPointer; QByteArray getStringProperty(xcb_window_t w, xcb_atom_t prop, char separator = 0); void updateXTime();