Skip to content

Commit

Permalink
test on std::array in char again.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kin-Zhang committed Oct 21, 2023
1 parent d5bc32c commit 7d371b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [windows-latest, macos-latest, ubuntu-18.04]
platform: [windows-latest, macos-latest] # , ubuntu-18.04
python-version: ["3.x"]

steps:
Expand Down
4 changes: 2 additions & 2 deletions src/timer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ class Timing : public Timer
std::size_t group_colors_level = std::numeric_limits<std::size_t>::max(),
int precision = 4) const
{
static constexpr std::array<const char*, 7> const RC{redColor(), greenColor(), yellowColor(),
static constexpr std::array<const char*, 7> RC{redColor(), greenColor(), yellowColor(),
blueColor(), magentaColor(), cyanColor(),
whiteColor()};

Expand Down Expand Up @@ -394,7 +394,7 @@ class Timing : public Timer
bool random_colors, bool bold, std::size_t group_colors_level,
int precision) const
{
static constexpr std::array<const char*, 7> const RC{redColor(), greenColor(), yellowColor(),
static constexpr std::array<const char*, 7> RC{redColor(), greenColor(), yellowColor(),
blueColor(), magentaColor(), cyanColor(),
whiteColor()};

Expand Down

0 comments on commit 7d371b4

Please sign in to comment.