0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 16:22:35 +01:00

ircd: Minor cleanup.

This commit is contained in:
Jason Volk 2018-05-04 15:12:26 -07:00
parent 389b3dd839
commit cff90c79ae
2 changed files with 2 additions and 3 deletions

View file

@ -14,7 +14,7 @@
namespace ircd namespace ircd
{ {
enum runlevel _runlevel {runlevel::HALT}; // Current libircd runlevel enum runlevel _runlevel {runlevel::HALT}; // Current libircd runlevel
const enum runlevel &runlevel{_runlevel}; // Observer for current RL const enum runlevel &runlevel {_runlevel}; // Observer for current RL
boost::asio::io_context *ios; // user's io service boost::asio::io_context *ios; // user's io service
struct strand *strand; // libircd event serializer struct strand *strand; // libircd event serializer
@ -69,7 +69,7 @@ try
// Sample the ID of this thread. Since this is the first transfer of // Sample the ID of this thread. Since this is the first transfer of
// control to libircd after static initialization we have nothing to // control to libircd after static initialization we have nothing to
// consider a main thread yet. We need something set for many assetions // consider a main thread yet. We need something set for many assertions
// to pass until ircd::main() is entered which will reset this to where // to pass until ircd::main() is entered which will reset this to where
// ios.run() is really running. // ios.run() is really running.
ircd::thread_id = std::this_thread::get_id(); ircd::thread_id = std::this_thread::get_id();

View file

@ -11,7 +11,6 @@
#include <ircd/js/js.h> #include <ircd/js/js.h>
#include <js/Initialization.h> #include <js/Initialization.h>
#include <mozilla/ThreadLocal.h> #include <mozilla/ThreadLocal.h>
#include "/home/jason/charybdis/charybdis/gecko-dev/js/src/vm/Opcodes.h"
namespace ircd { namespace ircd {
namespace js { namespace js {