From 31a458f3657e53b51849111cf5ddc438c7e612a2 Mon Sep 17 00:00:00 2001 From: Henrik Kinnunen Date: Thu, 18 Mar 2010 12:08:03 +0100 Subject: Fixed so testDemandAttention compiles --- src/tests/testDemandAttention.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/tests/testDemandAttention.cc b/src/tests/testDemandAttention.cc index fa8bf29..f90de30 100644 --- a/src/tests/testDemandAttention.cc +++ b/src/tests/testDemandAttention.cc @@ -33,7 +33,9 @@ #include #include +#include #include + using namespace std; class App:public FbTk::App, public FbTk::EventHandler { @@ -56,9 +58,9 @@ public: XInternAtom(m_win.display(), "_NET_WM_STATE_DEMANDS_ATTENTION", False); - FbTk::RefCount cmd(new FbTk::SimpleCommand - (*this, - &App::demandAttention)); + FbTk::RefCount > cmd(new FbTk::SimpleCommand + (*this, + &App::demandAttention)); timeval t; t.tv_sec = 5; t.tv_usec = 0; -- cgit v0.11.2