Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
libksysguard
Commits
d9b5e349
Commit
d9b5e349
authored
May 13, 2021
by
David Redondo
🏎
Browse files
Do not include inside a namespace
This puts the functions declared in these headers inside the namespace
parent
1c3e6915
Changes
1
Hide whitespace changes
Inline
Side-by-side
systemstats/SysctlSensor.h
View file @
d9b5e349
...
...
@@ -21,6 +21,11 @@
#include "SensorProperty.h"
#ifdef Q_OS_FREEBSD
#include <sys/types.h>
#include <sys/sysctl.h>
#endif
namespace
KSysGuard
{
...
...
@@ -58,8 +63,6 @@ private:
};
#ifdef Q_OS_FREEBSD
#include <sys/types.h>
#include <sys/sysctl.h>
template
<
typename
T
>
SysctlSensor
<
T
>::
SysctlSensor
(
const
QString
&
id
,
const
QByteArray
&
sysctlName
,
SensorObject
*
parent
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment