Skip to content

Commit

Permalink
Revert "Fix hex writing"
Browse files Browse the repository at this point in the history
This reverts commit 854318e.
  • Loading branch information
florianbecker committed Nov 13, 2024
1 parent 854318e commit 2d48010
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cmake/fetch/doxygen-awesome-css.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ include(FetchContent)

FetchContent_Declare(doxygen-awesome-css
GIT_REPOSITORY https://github.com/jothepro/doxygen-awesome-css.git
GIT_TAG v2.3.4
GIT_TAG v2.3.1
GIT_SHALLOW 1
)

Expand Down
2 changes: 1 addition & 1 deletion source/Demangle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ namespace vx::demangle {

/* Try to fix no spaces and comma issues */
RE2::GlobalReplace( &result, " ,", "," );
if ( !result.contains( ", " ) ) {
if ( result.find( ", " ) == std::string::npos ) {

RE2::GlobalReplace( &result, ",", ", " );
}
Expand Down
12 changes: 6 additions & 6 deletions source/Logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,22 +150,22 @@ namespace vx::logger {
switch ( _severity ) {

case Severity::Verbose:
result += "\x{1b}[37;1m[" + severity + "]\x{1b}[0m";
result += "\x1b[37;1m[" + severity + "]\x1b[0m";
break;
case Severity::Debug:
result += " \x{1b}[34;1m[" + severity + "]\x{1b}[0m";
result += " \x1b[34;1m[" + severity + "]\x1b[0m";
break;
case Severity::Info:
result += " \x{1b}[32;1m[" + severity + "]\x{1b}[0m";
result += " \x1b[32;1m[" + severity + "]\x1b[0m";
break;
case Severity::Warning:
result += "\x{1b}[33;1m[" + severity + "]\x{1b}[0m";
result += "\x1b[33;1m[" + severity + "]\x1b[0m";
break;
case Severity::Error:
result += " \x{1b}[31;1m[" + severity + "]\x{1b}[0m";
result += " \x1b[31;1m[" + severity + "]\x1b[0m";
break;
case Severity::Fatal:
result += " \x{1b}[41;1m[" + severity + "]\x{1b}[0m";
result += " \x1b[41;1m[" + severity + "]\x1b[0m";
break;
}
return result;
Expand Down

0 comments on commit 2d48010

Please sign in to comment.