From 67c98cb9c790cf4348ac4b28e018b2d732bd94d0 Mon Sep 17 00:00:00 2001 From: jsteemann Date: Tue, 4 Dec 2018 20:05:05 +0100 Subject: [PATCH] remove currently unused method --- lib/ApplicationFeatures/ApplicationServer.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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);