diff --git a/Source/AwsCommonRuntimeKit/crt/CBOR.swift b/Source/AwsCommonRuntimeKit/crt/CBOR.swift index 0f21b508..74bc2615 100644 --- a/Source/AwsCommonRuntimeKit/crt/CBOR.swift +++ b/Source/AwsCommonRuntimeKit/crt/CBOR.swift @@ -142,9 +142,9 @@ public class CBORDecoder { self.rawValue = rawValue } + // swiftlint:disable function_body_length /// Decodes and returns the next value. If there is no value, this function will throw an error. /// You must call `hasNext()` before calling this function. - // swiftlint:disable function_body_length public func popNext() throws -> CBORType { var cbor_type: aws_cbor_type = AWS_CBOR_TYPE_UNKNOWN guard aws_cbor_decoder_peek_type(self.rawValue, &cbor_type) == AWS_OP_SUCCESS else {