aboutsummaryrefslogtreecommitdiff
path: root/core/fxcodec/jbig2/JBig2_Segment.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcodec/jbig2/JBig2_Segment.cpp')
-rw-r--r--core/fxcodec/jbig2/JBig2_Segment.cpp17
1 files changed, 3 insertions, 14 deletions
diff --git a/core/fxcodec/jbig2/JBig2_Segment.cpp b/core/fxcodec/jbig2/JBig2_Segment.cpp
index 91fa2d9b5..63981b0b4 100644
--- a/core/fxcodec/jbig2/JBig2_Segment.cpp
+++ b/core/fxcodec/jbig2/JBig2_Segment.cpp
@@ -1,4 +1,4 @@
-// Copyright 2014 PDFium Authors. All rights reserved.
+// Copyright 2014 The PDFium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -6,17 +6,6 @@
#include "core/fxcodec/jbig2/JBig2_Segment.h"
-CJBig2_Segment::CJBig2_Segment()
- : m_dwNumber(0),
- m_nReferred_to_segment_count(0),
- m_dwPage_association(0),
- m_dwData_length(0),
- m_dwHeader_Length(0),
- m_dwObjNum(0),
- m_dwDataOffset(0),
- m_State(JBIG2_SEGMENT_HEADER_UNPARSED),
- m_nResultType(JBIG2_VOID_POINTER) {
- m_cFlags.c = 0;
-}
+CJBig2_Segment::CJBig2_Segment() = default;
-CJBig2_Segment::~CJBig2_Segment() {}
+CJBig2_Segment::~CJBig2_Segment() = default;