Browse Source

Unused e-type

default_compile_flags
vector-of-bool 4 years ago
parent
commit
28a01b6067
3 changed files with 1 additions and 9 deletions
  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 View File

} }
return 1; 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); dds_log(error, "Failed to load toolchain: .br.yellow[{}]"_styled, err.message);
if (tc_file) { if (tc_file) {
dds_log(error, " (While loading from file [.bold.red[{}]])"_styled, tc_file->value); dds_log(error, " (While loading from file [.bold.red[{}]])"_styled, tc_file->value);

+ 0
- 1
src/dds/cli/options.cpp View File

} }
// Convert the given string to a toolchain // Convert the given string to a toolchain
auto& tc_str = *toolchain; auto& tc_str = *toolchain;
DDS_E_SCOPE(e_toolchain_name{tc_str});
DDS_E_SCOPE(e_loading_toolchain{tc_str}); DDS_E_SCOPE(e_loading_toolchain{tc_str});
if (tc_str.starts_with(":")) { if (tc_str.starts_with(":")) {
DDS_E_SCOPE(e_toolchain_builtin{tc_str}); DDS_E_SCOPE(e_toolchain_builtin{tc_str});

+ 0
- 4
src/dds/error/toolchain.hpp View File

std::string value; std::string value;
}; };


struct e_toolchain_name {
std::string value;
};

struct e_toolchain_file { struct e_toolchain_file {
std::string value; std::string value;
}; };

Loading…
Cancel
Save