electron-archive / brightray_example

An example application using Brightray
MIT License
27 stars 15 forks source link

Specify return type of lambda to avoid compiler error. #5

Closed nathansobo closed 11 years ago

nathansobo commented 11 years ago

Without this change, I receive the following error when attempting to build: "C++11 requires lambda with omitted result type to consist of a single return statement"

aroben commented 11 years ago

Interesting, what compiler/version are you using? I'm not seeing this error when building with Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn).