mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 02:02:38 +01:00
ircd: Minor cleanup.
This commit is contained in:
parent
389b3dd839
commit
cff90c79ae
2 changed files with 2 additions and 3 deletions
|
@ -14,7 +14,7 @@
|
|||
namespace ircd
|
||||
{
|
||||
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
|
||||
struct strand *strand; // libircd event serializer
|
||||
|
@ -69,7 +69,7 @@ try
|
|||
|
||||
// Sample the ID of this thread. Since this is the first transfer of
|
||||
// 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
|
||||
// ios.run() is really running.
|
||||
ircd::thread_id = std::this_thread::get_id();
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#include <ircd/js/js.h>
|
||||
#include <js/Initialization.h>
|
||||
#include <mozilla/ThreadLocal.h>
|
||||
#include "/home/jason/charybdis/charybdis/gecko-dev/js/src/vm/Opcodes.h"
|
||||
|
||||
namespace ircd {
|
||||
namespace js {
|
||||
|
|
Loading…
Reference in a new issue