diff options
author | 2017-01-15 10:59:14 -0500 | |
---|---|---|
committer | 2017-01-15 11:55:33 -0500 | |
commit | 3b55bebadcb69e82dc768524d1b833d984b1cff1 (patch) | |
tree | d2f58052922c3391582378a3957d50e7c048bf1c /src/lib/netlist/plib/pexception.cpp | |
parent | fa6442a5e64bf2dee0e082c25ed10c342b7f1fd0 (diff) |
Removing unnecessary callback
I'm doing this in response to a compilation error on MSVC 2015. As far as I can tell, this is a bug in the compiler. My basis for asserting this is that placing the following declaration within the 'endpoint.on_open = <<lambda>>' gives the same compilation error:
const std::function<void(void)> mycallback = [](void) {};
Whereas moving that logic outside of the 'endpoint.on_open = <<lambda>>' does not give an error.
Normally I don't like working around buggy compilers, but in this case the callback is supposed to be optional anyways.
Diffstat (limited to 'src/lib/netlist/plib/pexception.cpp')
0 files changed, 0 insertions, 0 deletions