Skip to content

Commit

Permalink
Bumped fmt and Langulus::Core
Browse files Browse the repository at this point in the history
  • Loading branch information
Epixu committed Mar 31, 2024
1 parent 7be5111 commit 153b61a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
runs-on: ${{matrix.os}}
steps:
- name: Clone
uses: actions/checkout@v3
uses: actions/checkout@v4

- if: matrix.os == 'ubuntu-22.04' && matrix.arch == 'x86'
name: Prepare Linux for cross-compilation
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ if (PROJECT_IS_TOP_LEVEL OR NOT LANGULUS)
include(LangulusUtilities.cmake)

# Add Langulus::Core library
fetch_langulus_module(Core GIT_TAG f1e134132b9dc3fbc8604d428a4d702c1405c256)
fetch_langulus_module(Core GIT_TAG 7709663d1ccd6f1f2f9361d1279a4fa5fc1e5deb)
endif()

# Configure {fmt} library
fetch_external_module(
fmt
GIT_REPOSITORY https://github.com/fmtlib/fmt.git
GIT_TAG 05dda9490ddd5cb89db5f5b8ec85a399d5945deb # master branch
GIT_TAG f5ec5ada2bcb2c64306f3d8c25dd919dbbe4692e # master branch
)

# Build and install Logger library
Expand Down
4 changes: 2 additions & 2 deletions source/Logger.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ namespace fmt
}

template<class CONTEXT> LANGULUS(INLINED)
auto format(T const& e, CONTEXT& ctx) {
auto format(T const& e, CONTEXT& ctx) const {
#if LANGULUS(DEBUG)
return fmt::format_to(ctx.out(), "{}({} at {})",
e.GetName(), e.GetMessage(), e.GetLocation());
Expand All @@ -327,7 +327,7 @@ namespace fmt
}

template<typename FormatContext>
auto format(const Langulus::Size& bs, FormatContext& ctx) {
auto format(const Langulus::Size& bs, FormatContext& ctx) const {
double f;
if (bs < 1'024LL)
f = static_cast<float>(bs);
Expand Down

0 comments on commit 153b61a

Please sign in to comment.