Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jul 4, 2025. It is now read-only.
/cortex.cppPublic archive

fix: Exception Handling and multiline comment#2092

Merged
qnixsynapse merged 1 commit intodevfromfix/exception_handling_by_ref
Mar 11, 2025

Conversation

@qnixsynapse
Copy link
Contributor

Describe Your Changes

  • This pull request addresses two key improvements in the codebase:

    • Exception Handling Improvement:
      Updated the exception handling in the Text struct's ToJson method. The catch clause now correctly captures the exception by reference (const std::exception & e) instead of by value. This change prevents unnecessary copying of the exception object and adheres to best practices for exception handling in C++.
    • Logging Code multiline comment fix:
      Commented out the unused GGUF_LOG macro in gguf_file.cpp using a block comment to resolve compiler complaints about multiline comments.

Fixes Issues

  • Closes #
  • Closes #

Self Checklist

  • Added relevant comments, esp in complex areas
  • Updated docs (for bug fixes / features)
  • Created issues for follow-up changes or refactoring needed

@qnixsynapseqnixsynapse merged commite541d12 intodevMar 11, 2025
8 checks passed
@qnixsynapseqnixsynapse deleted the fix/exception_handling_by_ref branchMarch 11, 2025 02:12
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

1 more reviewer

@vansangpfievvansangpfievvansangpfiev approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@qnixsynapse@vansangpfiev

[8]ページ先頭

©2009-2025 Movatter.jp