X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fsession_butler.cc;h=259a3a1d3d6d55c42aa3a5d0bc189624d35f3b52;hb=6946bdc0830c9f0971d2cd0d54b27e343c54d96a;hp=3e7c2226ccb4d9c56b5cbf9e78e742b365f98291;hpb=fb45fdc052b23f4b2210c71a03a14bdb5986098a;p=ardour.git diff --git a/libs/ardour/session_butler.cc b/libs/ardour/session_butler.cc index 3e7c2226cc..259a3a1d3d 100644 --- a/libs/ardour/session_butler.cc +++ b/libs/ardour/session_butler.cc @@ -28,26 +28,12 @@ #include "ardour/track.h" #include "ardour/types.h" -#include "i18n.h" +#include "pbd/i18n.h" using namespace std; using namespace ARDOUR; using namespace PBD; -/* XXX put this in the right place */ - -static inline uint32_t next_power_of_two (uint32_t n) -{ - --n; - n |= n >> 16; - n |= n >> 8; - n |= n >> 4; - n |= n >> 2; - n |= n >> 1; - ++n; - return n; -} - /*--------------------------------------------------------------------------- BUTLER THREAD ---------------------------------------------------------------------------*/