Skip to content

Commit

Permalink
Addressed PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Yusuf-PG committed Apr 29, 2024
1 parent a20bc74 commit 720cb13
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions includes/acl/decompression/impl/decompress.impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ namespace acl

const error_result error = skip_safety_checks ? error_result() : tracks.is_valid(false);
const bool is_valid = skip_safety_checks || error.empty();
ACL_ASSERT(is_valid, "Invalid compressed tracks instance: %s", error.c_str());
ACL_ASSERT(is_valid, "Invalid compressed tracks instance: " ACL_ASSERT_STRING_FORMAT_SPECIFIER, error.c_str());
if (!is_valid)
return false; // Invalid compressed tracks instance

Expand All @@ -90,7 +90,7 @@ namespace acl

const error_result error = skip_safety_checks ? error_result() : tracks.is_valid(false);
const bool is_tracks_valid = skip_safety_checks || error.empty();
ACL_ASSERT(is_tracks_valid, "Invalid compressed tracks instance: %s", error.c_str());
ACL_ASSERT(is_tracks_valid, "Invalid compressed tracks instance: " ACL_ASSERT_STRING_FORMAT_SPECIFIER, error.c_str());
if (!is_tracks_valid)
return false; // Invalid compressed tracks instance

Expand Down Expand Up @@ -127,7 +127,7 @@ namespace acl

const error_result error = skip_safety_checks ? error_result() : tracks.is_valid(false);
const bool is_valid = skip_safety_checks || error.empty();
ACL_ASSERT(is_valid, "Invalid compressed tracks instance: %s", error.c_str());
ACL_ASSERT(is_valid, "Invalid compressed tracks instance: " ACL_ASSERT_STRING_FORMAT_SPECIFIER, error.c_str());
if (!is_valid)
return false; // Invalid compressed tracks instance

Expand All @@ -150,7 +150,7 @@ namespace acl

const error_result error = skip_safety_checks ? error_result() : tracks.is_valid(false);
const bool is_tracks_valid = skip_safety_checks || error.empty();
ACL_ASSERT(is_tracks_valid, "Invalid compressed tracks instance: %s", error.c_str());
ACL_ASSERT(is_tracks_valid, "Invalid compressed tracks instance: " ACL_ASSERT_STRING_FORMAT_SPECIFIER, error.c_str());
if (!is_tracks_valid)
return false; // Invalid compressed tracks instance

Expand Down

0 comments on commit 720cb13

Please sign in to comment.