Diff of /cmajor++/Cm/Cm.Core/Library.cpp [r367] .. [r368]  Maximize  Restore

Switch to side-by-side view

--- a/cmajor++/Cm/Cm.Core/Library.cpp
+++ b/cmajor++/Cm/Cm.Core/Library.cpp
@@ -145,7 +145,7 @@
 
 void Library::ParseTemplateCompilationUnit(int templateSourceFileIndex)
 {
-    CM_CORE_ASSERT(templateSourceFileParser);
+    CM_CORE_ASSERT(templateSourceFileParser, nullptr);
     if (templateSourceFileIndex < 0 || templateSourceFileIndex >= sourceFilePaths.size())
     {
         throw std::runtime_error("invalid template source file path index");

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks