Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
889d900e
Commit
889d900e
authored
Feb 01, 2008
by
Bill Hoffman
Browse files
ENH: fix more warnings
parent
f6826df4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/kwsys/SystemInformation.cxx
View file @
889d900e
...
...
@@ -221,7 +221,7 @@ protected:
// For Linux
int
RetreiveInformationFromCpuInfoFile
();
kwsys_stl
::
string
ExtractValueFromCpuInfoFile
(
kwsys_stl
::
string
buffer
,
const
char
*
word
,
in
t
init
=
0
);
const
char
*
word
,
size_
t
init
=
0
);
static
void
Delay
(
unsigned
int
);
static
void
DelayOverhead
(
unsigned
int
);
...
...
@@ -2122,7 +2122,7 @@ bool SystemInformationImplementation::RetrieveClassicalCPUIdentity()
}
/** Extract a value from the CPUInfo file */
kwsys_stl
::
string
SystemInformationImplementation
::
ExtractValueFromCpuInfoFile
(
kwsys_stl
::
string
buffer
,
const
char
*
word
,
in
t
init
)
kwsys_stl
::
string
SystemInformationImplementation
::
ExtractValueFromCpuInfoFile
(
kwsys_stl
::
string
buffer
,
const
char
*
word
,
size_
t
init
)
{
size_t
pos
=
buffer
.
find
(
word
,
init
);
if
(
pos
!=
buffer
.
npos
)
...
...
Write
Preview
Markdown
is supported
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