summaryrefslogtreecommitdiff
path: root/src/mongo/util/signal_win32.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/util/signal_win32.cpp')
-rw-r--r--src/mongo/util/signal_win32.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mongo/util/signal_win32.cpp b/src/mongo/util/signal_win32.cpp
index 12c642ca4a4..95913067f7b 100644
--- a/src/mongo/util/signal_win32.cpp
+++ b/src/mongo/util/signal_win32.cpp
@@ -34,11 +34,11 @@
namespace mongo {
#ifdef _WIN32
- // Generate windows event name for shutdown signal
- std::string getShutdownSignalName(int processId) {
- const char* strEventNamePrefix = "Global\\Mongo_";
+// Generate windows event name for shutdown signal
+std::string getShutdownSignalName(int processId) {
+ const char* strEventNamePrefix = "Global\\Mongo_";
- return mongoutils::str::stream() << strEventNamePrefix << processId;
- }
+ return mongoutils::str::stream() << strEventNamePrefix << processId;
+}
#endif
}