summaryrefslogtreecommitdiff
path: root/Build/source/libs/poppler/poppler-src/poppler/ProfileData.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/poppler/poppler-src/poppler/ProfileData.h')
-rw-r--r--Build/source/libs/poppler/poppler-src/poppler/ProfileData.h25
1 files changed, 10 insertions, 15 deletions
diff --git a/Build/source/libs/poppler/poppler-src/poppler/ProfileData.h b/Build/source/libs/poppler/poppler-src/poppler/ProfileData.h
index 418ee010755..664a60b0180 100644
--- a/Build/source/libs/poppler/poppler-src/poppler/ProfileData.h
+++ b/Build/source/libs/poppler/poppler-src/poppler/ProfileData.h
@@ -3,6 +3,7 @@
// ProfileData.h
//
// Copyright 2005 Jonathan Blandford <jrb@gnome.org>
+// Copyright 2018 Adam Reichold <adam.reichold@t-online.de>
//
//========================================================================
@@ -19,23 +20,17 @@
class ProfileData {
public:
-
- // Constructor.
- ProfileData ();
-
- // Destructor.
- ~ProfileData() {}
-
void addElement (double elapsed);
- int getCount () { return count; }
- double getTotal () { return total; }
- double getMin () { return max; }
- double getMax () { return max; }
+
+ int getCount () const { return count; }
+ double getTotal () const { return total; }
+ double getMin () const { return max; }
+ double getMax () const { return max; }
private:
- int count; // size of <elems> array
- double total; // number of elements in array
- double min; // reference count
- double max; // reference count
+ int count = 0; // size of <elems> array
+ double total = 0.0; // number of elements in array
+ double min = 0.0; // reference count
+ double max = 0.0; // reference count
};
#endif