Fix getMemoryInfo not returning false on non-Windows

This commit is contained in:
Ryan Huffman 2016-06-21 13:32:17 -07:00
parent 251e2137d3
commit 0ea9c5c26d

View file

@ -864,7 +864,9 @@ bool getMemoryInfo(MemoryInfo& info) {
}
info.processUsedMemoryBytes = pmc.PrivateUsage;
info.processPeakUsedMemoryBytes = pmc.PeakPagefileUsage;
#endif
return true;
#endif
return false;
}