Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
singiamtel committed Nov 4, 2024
1 parent 3a895e0 commit 77e65f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
- name: Run clang-format on changed files
run: |
set -x
git config --global --add safe.directory
whoami
ls -la
git fetch origin ${{ github.event.pull_request.base.ref }}
git fetch origin pull/${{ github.event.pull_request.number }}/head:${{ github.event.pull_request.head.ref }}
BASE_COMMIT=$(git rev-parse ${{ github.event.pull_request.base.sha }})
Expand Down
2 changes: 1 addition & 1 deletion src/Configuration.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ void ConfigFile::load(const std::string path)
if (boost::algorithm::ends_with(filename, suffix)) {
try {
boost::property_tree::ini_parser::read_ini(filename, dPtr->pt);
} catch (boost::property_tree::ini_parser::ini_parser_error perr) {
} catch (boost::property_tree::ini_parser::ini_parser_error const &perr) {
std::stringstream ss;
if (perr.line()) {
ss << perr.message() << " in " << perr.filename() << " line " << perr.line();
Expand Down

0 comments on commit 77e65f8

Please sign in to comment.