From: Avi Kivity Date: Tue, 9 Feb 2016 08:35:25 +0000 (+0200) Subject: Allow building with -std=c++11 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=4b6d12dabe3935aaeaa55c3e17fddc55b48395b3;p=users%2Fhch%2Ffsqual.git Allow building with -std=c++11 --- diff --git a/fsqual.cc b/fsqual.cc index 3bd3292..44c1b07 100644 --- a/fsqual.cc +++ b/fsqual.cc @@ -10,9 +10,10 @@ #include #include #include +#include template -auto +typename std::result_of::type with_ctxsw_counting(Counter& counter, Func&& func) { struct count_guard { Counter& counter;