We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9e2b23 commit ddcb84bCopy full SHA for ddcb84b
src/core/src/FilesystemUtil.cpp
@@ -32,9 +32,8 @@ std::filesystem::path getCesiumCacheDirectory() {
32
// Should we create the directory if it doesn't exist? It's hard to believe that Omniverse
33
// won't have already created it.
34
}
35
- std::string homeDir = getUserHomeDirectory();
36
- if (!homeDir.empty()) {
37
- std::filesystem::path homeDirPath(homeDir);
+ auto homeDirPath = getUserHomeDirectory();
+ if (!homeDirPath.empty()) {
38
auto cacheDirPath = homeDirPath / ".nvidia-omniverse";
39
if (exists(cacheDirPath)) {
40
return cacheDirPath;
0 commit comments