aboutsummaryrefslogtreecommitdiff
path: root/src/core/bufferfragment_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/bufferfragment_p.h')
-rw-r--r--src/core/bufferfragment_p.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/core/bufferfragment_p.h b/src/core/bufferfragment_p.h
index 3edbb6b6..f75af1d6 100644
--- a/src/core/bufferfragment_p.h
+++ b/src/core/bufferfragment_p.h
@@ -24,14 +24,16 @@
class KConfigIniBackend::BufferFragment
{
-
public:
-
- BufferFragment() : d(nullptr), len(0)
+ BufferFragment()
+ : d(nullptr)
+ , len(0)
{
}
- BufferFragment(char *buf, int size) : d(buf), len(size)
+ BufferFragment(char *buf, int size)
+ : d(buf)
+ , len(size)
{
}
@@ -184,7 +186,7 @@ private:
uint qHash(const KConfigIniBackend::BufferFragment fragment)
{
- const uchar *p = reinterpret_cast<const uchar*>(fragment.constData());
+ const uchar *p = reinterpret_cast<const uchar *>(fragment.constData());
const int len = fragment.length();
// This algorithm is copied from qhash.cpp (Qt5 version).