Просмотр исходного кода

Remove incorrect `noexcept`

default_compile_flags
vector-of-bool 5 лет назад
Родитель
Сommit
c9d6907c1c
2 измененных файлов: 2 добавлений и 2 удалений
  1. +1
    -1
      src/dds/build/plan/compile_file.cpp
  2. +1
    -1
      src/dds/build/plan/compile_file.hpp

+ 1
- 1
src/dds/build/plan/compile_file.cpp Просмотреть файл



using namespace dds; using namespace dds;


compile_command_info compile_file_plan::generate_compile_command(build_env_ref env) const noexcept {
compile_command_info compile_file_plan::generate_compile_command(build_env_ref env) const {
compile_file_spec spec{_source.path, calc_object_file_path(env)}; compile_file_spec spec{_source.path, calc_object_file_path(env)};
spec.enable_warnings = _rules.enable_warnings(); spec.enable_warnings = _rules.enable_warnings();
extend(spec.include_dirs, _rules.include_dirs()); extend(spec.include_dirs, _rules.include_dirs());

+ 1
- 1
src/dds/build/plan/compile_file.hpp Просмотреть файл

* Generate a concrete compile command object for this source file for the given build * Generate a concrete compile command object for this source file for the given build
* environment. * environment.
*/ */
compile_command_info generate_compile_command(build_env_ref) const noexcept;
compile_command_info generate_compile_command(build_env_ref) const;
}; };


} // namespace dds } // namespace dds

Загрузка…
Отмена
Сохранить