Browse Source

Use #if !EV_MULTIPLICITY instead of #ifndef because it should be defined always.

master
llucax 14 years ago
parent
commit
28cad79c44
  1. 2
      ev++.h

2
ev++.h

@ -377,7 +377,7 @@ namespace ev {
: loop_ref (ev_default_loop (flags))
#endif
{
#ifndef EV_MULTIPLICITY
#if !EV_MULTIPLICITY
if (!ev_default_loop (flags))
throw bad_loop ();
#endif

Loading…
Cancel
Save