jgrulich added a comment.

  In D28882#653483 <https://phabricator.kde.org/D28882#653483>, @jgrulich wrote:
  
  > Doesn't seem to build here:
  >
  >   In file included from 
/home/jgrulich/development/projects/kde/kwayland/src/server/screencasting_interface.cpp:7:
  >   
/home/jgrulich/development/projects/kde/kwayland/src/server/screencasting_interface.h:32:121:
 error: ‘std::function’ has not been declared
  >      32 |     ScreencastingSource(const QString &description, const QString 
&iconName, bool isOutput, const QRect &geometry, std::function<void(const 
ScreencastingSource &, wl_resource *)>);
  >         |                                                                   
                                                      ^~~~~~~~
  >   In file included from 
/home/jgrulich/development/projects/kde/kwayland/src/server/screencasting_interface.cpp:7:
  >   
/home/jgrulich/development/projects/kde/kwayland/src/server/screencasting_interface.h:32:129:
 error: expected ‘,’ or ‘...’ before ‘<’ token
  >      32 |     ScreencastingSource(const QString &description, const QString 
&iconName, bool isOutput, const QRect &geometry, std::function<void(const 
ScreencastingSource &, wl_resource *)>);
  >         |                                                                   
                                                              ^
  >   
/home/jgrulich/development/projects/kde/kwayland/src/server/screencasting_interface.cpp:41:1:
 error: no declaration matches 
‘KWayland::Server::ScreencastingSource::ScreencastingSource(const QString&, 
const QString&, bool, const QRect&, std::function<void(const 
KWayland::Server::ScreencastingSource&, wl_resource*)>)’
  >      41 | ScreencastingSource::ScreencastingSource(const QString 
&description, const QString &iconName, bool isOutput, const QRect &geometry, 
std::function<void(const ScreencastingSource &,wl_resource *r)> call)
  >         | ^~~~~~~~~~~~~~~~~~~
  >                
  >
  
  
  Missing #include <functional>

REPOSITORY
  R127 KWayland

REVISION DETAIL
  https://phabricator.kde.org/D28882

To: apol, #kwin, jgrulich
Cc: romangg, zzag, kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham, 
bruns

Reply via email to