Skip to content

Commit

Permalink
Fuzz fix for clang (#261)
Browse files Browse the repository at this point in the history
* fix badges on readme

* add a fix for fuzz on clang-14
  • Loading branch information
phlptp authored Dec 18, 2022
1 parent 5f8d01f commit 12cb78d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ endif()

project(
UNITS
LANGUAGES CXX
LANGUAGES C CXX
VERSION 0.7.0
)
include(CMakeDependentOption)
Expand Down
1 change: 1 addition & 0 deletions FuzzTargets/fuzz_target_measurement_from_string.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ SPDX-License-Identifier: BSD-3-Clause
#include "units/units.hpp"
#include <cstring>
#include <exception>
#include <stdexcept>
#include <string>

static const bool cflag = []() {
Expand Down

0 comments on commit 12cb78d

Please sign in to comment.