Skip to content

Commit eeb461d

Browse files
committed
Add minimal boolean to lambda captures for MSVC
Signed-off-by: Kevin Wheatley <[email protected]>
1 parent 6366a2a commit eeb461d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/cpu/OCIOZArchive_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ OCIO_ADD_TEST(OCIOZArchive, is_config_archivable)
214214
cfg->clearSearchPaths();
215215

216216
// Lambda function to facilitate adding a new FileTransform to a config.
217-
auto addFTAndTestIsArchivable = [&cfg](const std::string & path, bool isArchivable)
217+
auto addFTAndTestIsArchivable = [&cfg, &minimal](const std::string & path, bool isArchivable)
218218
{
219219
std::string fullPath = pystring::os::path::join(path, "fake_lut.clf");
220220
auto ft = OCIO::FileTransform::Create();

0 commit comments

Comments
 (0)