Browse Source

Remove incorrect `noexcept`

default_compile_flags
vector-of-bool 5 years ago
parent
commit
c9d6907c1c
2 changed files with 2 additions and 2 deletions
  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 View File

@@ -12,7 +12,7 @@

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)};
spec.enable_warnings = _rules.enable_warnings();
extend(spec.include_dirs, _rules.include_dirs());

+ 1
- 1
src/dds/build/plan/compile_file.hpp View File

@@ -126,7 +126,7 @@ public:
* Generate a concrete compile command object for this source file for the given build
* environment.
*/
compile_command_info generate_compile_command(build_env_ref) const noexcept;
compile_command_info generate_compile_command(build_env_ref) const;
};

} // namespace dds

Loading…
Cancel
Save