Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
medialibrary
Commits
43dc7a7b
Commit
43dc7a7b
authored
Aug 25, 2016
by
Hugo Beauzée-Luyssen
Browse files
fs: win32: File: Cosmetics
parent
ccea1324
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/filesystem/win32/File.cpp
View file @
43dc7a7b
...
...
@@ -47,8 +47,8 @@ unsigned int File::lastModificationDate() const
if
(
m_lastModificationDate
==
0
)
{
struct
_stat
s
;
if
(
_stat
(
m_fullPath
.
c_str
(),
&
s
)
)
throw
std
::
runtime_error
(
"Failed to get file stats"
);
if
(
_stat
(
m_fullPath
.
c_str
(),
&
s
)
!=
0
)
throw
std
::
runtime_error
(
"Failed to get
"
+
m_fullPath
+
"
file stats"
);
m_lastModificationDate
=
s
.
st_mtime
;
}
return
m_lastModificationDate
;
...
...
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