Skip to content

Commit

Permalink
Try ensuring PendingLoad outlives TestServer
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanGriffiths committed Sep 25, 2024
1 parent c89d7fd commit a4fabf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/miral/config_file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class PendingLoad
bool pending_loads = false;
};

struct TestConfigFile : miral::TestServer, PendingLoad
struct TestConfigFile : PendingLoad, miral::TestServer
{
TestConfigFile();
MOCK_METHOD(void, load, (std::istream& in, std::filesystem::path path), ());
Expand Down

0 comments on commit a4fabf3

Please sign in to comment.