Skip to content

Commit e18ac54

Browse files
committed
feat: bump glaze to 2.9.3
1 parent 0c94029 commit e18ac54

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ FetchContent_Declare(
7979
)
8080

8181
set(glaze_GIT_REPOSITORY "https://github.com/stephenberry/glaze")
82-
# glaze v2.6.9
83-
set(glaze_GIT_TAG 6bcc20ce7eb59df60b94488a4f6be723731db00e)
82+
# glaze v2.9.3
83+
set(glaze_GIT_TAG fe49c8e1a057d11484e0bd88ffcbe60277e356fd)
8484
FetchContent_Declare(
8585
glaze
8686
GIT_REPOSITORY ${glaze_GIT_REPOSITORY}

test/itkTransformJSONTest.cxx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,12 @@ itkTransformJSONTest(int argc, char * argv[])
3434
itk::TransformListJSON transformList{ transform };
3535

3636
std::string serialized{};
37-
glz::write<glz::opts{.prettify = true}>(transformList, serialized);
37+
auto ec = glz::write<glz::opts{.prettify = true}>(transformList, serialized);
38+
if (ec)
39+
{
40+
std::cerr << "Failed to serialize TransformListJSON" << std::endl;
41+
return EXIT_FAILURE;
42+
}
3843
std::cout << serialized << std::endl;
3944

4045
auto deserializedAttempt = glz::read_json<itk::TransformListJSON>(serialized);

0 commit comments

Comments
 (0)