Copy path field
This commit is contained in:
parent
f52cb6ad2a
commit
821ecf5105
|
@ -49,6 +49,7 @@ private struct CacheEntry
|
||||||
void opAssign(ref const CacheEntry other)
|
void opAssign(ref const CacheEntry other)
|
||||||
{
|
{
|
||||||
this.symbols = cast(typeof(symbols)) other.symbols;
|
this.symbols = cast(typeof(symbols)) other.symbols;
|
||||||
|
this.path = other.path;
|
||||||
this.modificationTime = other.modificationTime;
|
this.modificationTime = other.modificationTime;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
2
server.d
2
server.d
|
@ -97,7 +97,7 @@ int main(string[] args)
|
||||||
sw.stop();
|
sw.stop();
|
||||||
Log.info("Startup completed in ", sw.peek().to!("msecs", float), " milliseconds");
|
Log.info("Startup completed in ", sw.peek().to!("msecs", float), " milliseconds");
|
||||||
|
|
||||||
// No relative paths
|
// No relative paths
|
||||||
version (Posix) chdir("/");
|
version (Posix) chdir("/");
|
||||||
|
|
||||||
serverLoop: while (true)
|
serverLoop: while (true)
|
||||||
|
|
Loading…
Reference in New Issue