cpptoml icon indicating copy to clipboard operation
cpptoml copied to clipboard

Remove default from switches where all cases are covered.

Open ldav1s opened this issue 6 years ago • 1 comments

ldav1s avatar Nov 19 '19 19:11 ldav1s

Discovered when compiling with clang++-8:

cpptoml.h:3039:13: error: default label in switch which covers all enumeration
      values [-Werror,-Wcovered-switch-default]
            default:
            ^

ldav1s avatar Nov 19 '19 19:11 ldav1s