Skip to content

Commit 4827c00

Browse files
committed
add JSONCPP_NORETURN where appropriate
Found with clang's -Wmissing-noreturn Signed-off-by: Rosen Penev <rosenp@gmail.com>
1 parent 2eda52b commit 4827c00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/json/value.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ class JSON_API ValueIterator : public ValueIteratorBase {
879879
using SelfType = ValueIterator;
880880

881881
ValueIterator();
882-
JSONCPP_OP_EXPLICIT ValueIterator(const ValueConstIterator& other);
882+
JSONCPP_NORETURN JSONCPP_OP_EXPLICIT ValueIterator(const ValueConstIterator& other);
883883
ValueIterator(const ValueIterator& other);
884884

885885
private:

0 commit comments

Comments
 (0)