Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

choc_WebView.h missing <functional> (minor issue) #10

Closed
dbadb opened this issue May 13, 2023 · 1 comment
Closed

choc_WebView.h missing <functional> (minor issue) #10

dbadb opened this issue May 13, 2023 · 1 comment

Comments

@dbadb
Copy link

dbadb commented May 13, 2023

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).

@julianstorer
Copy link
Collaborator

Thanks! I've pushed a fix for that now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants