diff --git a/lib/ApplicationFeatures/ApplicationServer.h b/lib/ApplicationFeatures/ApplicationServer.h index faf8fd9a8c..84aa28cd4f 100644 --- a/lib/ApplicationFeatures/ApplicationServer.h +++ b/lib/ApplicationFeatures/ApplicationServer.h @@ -270,13 +270,7 @@ class ApplicationServer { void setupDependencies(bool failOnMissing); std::vector const& getOrderedFeatures() { return _orderedFeatures; } - - static void setStateUnsafe(ServerState state) { - if (server) { - server->_state.store(state); - } - } - + private: // throws an exception that a requested feature was not found [[ noreturn ]] static void throwFeatureNotFoundException(std::string const& name);