diff --git a/source/vibe/core/file.d b/source/vibe/core/file.d index 6117708..e32efef 100644 --- a/source/vibe/core/file.d +++ b/source/vibe/core/file.d @@ -238,12 +238,12 @@ void copyFile(NativePath from, NativePath to, bool overwrite = false) static if (__VERSION__ < 2078) { () @trusted { - setAttributes(to.toString, info.attributes); setTimes(to.toString, info.timeLastAccessed, info.timeLastModified); + setAttributes(to.toString, info.attributes); } (); } else { - setAttributes(to.toString, info.attributes); setTimes(to.toString, info.timeLastAccessed, info.timeLastModified); + setAttributes(to.toString, info.attributes); } } /// ditto