Quellcode durchsuchen

Unused e-type

default_compile_flags
vector-of-bool vor 4 Jahren
Ursprung
Commit
28a01b6067
3 geänderte Dateien mit 1 neuen und 9 gelöschten Zeilen
  1. +1
    -4
      src/dds/cli/error_handler.cpp
  2. +0
    -1
      src/dds/cli/options.cpp
  3. +0
    -4
      src/dds/error/toolchain.hpp

+ 1
- 4
src/dds/cli/error_handler.cpp Datei anzeigen

@@ -78,10 +78,7 @@ auto handlers = std::tuple( //
}
return 1;
},
[](e_system_error_exc err,
e_loading_toolchain,
e_toolchain_file* tc_file,
e_toolchain_builtin*) {
[](e_system_error_exc err, e_loading_toolchain, e_toolchain_file* tc_file) {
dds_log(error, "Failed to load toolchain: .br.yellow[{}]"_styled, err.message);
if (tc_file) {
dds_log(error, " (While loading from file [.bold.red[{}]])"_styled, tc_file->value);

+ 0
- 1
src/dds/cli/options.cpp Datei anzeigen

@@ -523,7 +523,6 @@ toolchain dds::cli::options::load_toolchain() const {
}
// Convert the given string to a toolchain
auto& tc_str = *toolchain;
DDS_E_SCOPE(e_toolchain_name{tc_str});
DDS_E_SCOPE(e_loading_toolchain{tc_str});
if (tc_str.starts_with(":")) {
DDS_E_SCOPE(e_toolchain_builtin{tc_str});

+ 0
- 4
src/dds/error/toolchain.hpp Datei anzeigen

@@ -8,10 +8,6 @@ struct e_loading_toolchain {
std::string value;
};

struct e_toolchain_name {
std::string value;
};

struct e_toolchain_file {
std::string value;
};

Laden…
Abbrechen
Speichern