1
0
mirror of https://github.com/ohwgiles/laminar.git synced 2026-03-02 03:40:21 +00:00

resolves #41: strange behaviour of limits

On a configuration change, update existing Nodes in Laminar's NodeMap
rather than replacing it with a new map.
This commit is contained in:
Oliver Giles
2018-04-20 14:18:10 +03:00
parent c937362961
commit 083f136186
4 changed files with 42 additions and 32 deletions

View File

@@ -25,7 +25,7 @@
class RunTest : public ::testing::Test {
protected:
void SetUp() override {
run.node = &node;
run.node = node;
}
void wait() {
int state = -1;
@@ -55,7 +55,7 @@ protected:
}
class Run run;
Node node;
std::shared_ptr<Node> node = std::shared_ptr<Node>(new Node);
};
TEST_F(RunTest, WorkingDirectory) {