Tracktion / choc

A collection of header only classes, permissively licensed, to provide basic useful tasks with the bare-minimum of dependencies.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

choc_WebView.h missing <functional> (minor issue)

dbadb opened this issue · comments

Minor issue: compiling trivial example which includes "choc/gui/choc_WebView.h" fails with:

choc_WebView.h(92): error C2039: 'function': is not a member of 'std'

Simple workaround is to #include <functional> prior to webview, but choc_WebView.h (and others perhaps) should include it.

The example test (main.cpp) hides this issue because it includes the kitchen sink (via choc_tests.h).

Thanks! I've pushed a fix for that now