瀏覽代碼

Remove incorrect `noexcept`

default_compile_flags
vector-of-bool 5 年之前
父節點
當前提交
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

Loading…
取消
儲存