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

master
llucax 15 years ago
parent 09a0cd707d
commit 28cad79c44
  1. 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