Skip to content

Commit

Permalink
Update TestFactoryPid.cpp
Browse files Browse the repository at this point in the history
Change auto const to constexpr. Signed-off-by The MathWorks, Inc. <pelliott@mathworks.com>
  • Loading branch information
pelliott-mathworks committed Oct 5, 2022
1 parent 1e110f4 commit e220c87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compendium/DeclarativeServices/test/TestFactoryPid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ TEST_F(tServiceComponent, testFactoryConfigBeforeInstall)
ASSERT_TRUE(configAdminService) << "GetService failed for ConfigurationAdmin";

// Create some factory configuration objects.
auto const count = 5;
constexpr auto count = 5;
for (int i = 0; i < count; i++) {
// Create the factory configuration object
auto factoryConfig =
Expand Down

0 comments on commit e220c87

Please sign in to comment.