From 56c9de0ae0f0b37d0c5f50f2b39d6c18362642bb Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Fri, 26 Oct 2018 17:27:45 -0400 Subject: Premake improvements (#696) * Make CacheFileSystem dtor virtual. * Fixing problems around build.linux and windows intermediate files being placed in obj. --- source/slang/slang-file-system.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') diff --git a/source/slang/slang-file-system.h b/source/slang/slang-file-system.h index c1358654a..aa216e6b0 100644 --- a/source/slang/slang-file-system.h +++ b/source/slang/slang-file-system.h @@ -105,7 +105,7 @@ class CacheFileSystem: public ISlangFileSystemExt /// Ctor CacheFileSystem(ISlangFileSystem* fileSystem, bool useSimplifyForCanonicalPath = false); /// Dtor - ~CacheFileSystem(); + virtual ~CacheFileSystem(); static CompressedResult toCompressedResult(Result res); static Result toResult(CompressedResult compRes) { return s_compressedResultToResult[int(compRes)]; } -- cgit v1.2.3