mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
trivial rename
This commit is contained in:
parent
5ea8a8c869
commit
712797797e
@ -2405,6 +2405,12 @@ unlink() const {
|
||||
bool Filename::
|
||||
rename_to(const Filename &other) const {
|
||||
assert(!get_pattern());
|
||||
|
||||
if (*this == other) {
|
||||
// Trivial success.
|
||||
return true;
|
||||
}
|
||||
|
||||
string os_specific = to_os_specific();
|
||||
string other_os_specific = other.to_os_specific();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user