Merge branch 'prod' of bitbucket.org:bluetradesys/spark into prod
This commit is contained in:
commit
8d5402bd4d
3 files changed
+5
-2
No files matched your search
@@ -14,6 +14,9 @@ namespace mbts.ui
|
||||
{
|
||||
return random.NextDouble() * (maxValue - minValue) + minValue;
|
||||
}
|
||||
public static bool NextBool(this Random random, int truePercentage = 50) {
|
||||
return random.NextDouble() < (truePercentage / 100.0);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#ifndef NO_CPP0X
|
||||
#define _DISABLE_EXTENDED_ALIGNED_STORAGE
|
||||
#include "Co2TestInstrument.h"
|
||||
#include "lib/md/MemorySegmentUtils.h"
|
||||
|
||||
@@ -50,4 +50,3 @@ MDConsumerHandle Co2TestInstrument::consumer() {
|
||||
Co2TestInstrument::~Co2TestInstrument() { }
|
||||
|
||||
}}//namespace
|
||||
#endif
|
||||
@@ -77,6 +77,7 @@ namespace http {
|
||||
_server.set_http_handler(bind(&ServerState::on_http, this, ::_1));
|
||||
// Turn off logging
|
||||
_server.clear_access_channels(websocketpp::log::alevel::all);
|
||||
_server.clear_error_channels(websocketpp::log::alevel::all);
|
||||
run();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user