SourceForge has been redesigned. Learn more.
Close

Diff of /libpp/filename_spec.cpp [9871f0] .. [0d0e60]  Maximize  Restore

Switch to side-by-side view

--- a/libpp/filename_spec.cpp
+++ b/libpp/filename_spec.cpp
@@ -61,6 +61,7 @@
 
 	image = parsed.image;
 	lib_image = parsed.lib_image;
+	cg_image = parsed.cg_image;
 	event = parsed.event;
 	count = op_lexical_cast<int>(parsed.count);
 	unitmask = op_lexical_cast<unsigned int>(parsed.unitmask);
@@ -68,3 +69,11 @@
 	tid.set(parsed.tid);
 	cpu.set(parsed.cpu);
 }
+
+
+bool filename_spec::is_dependant() const
+{
+	if (cg_image.empty())
+		return image != lib_image;
+	return cg_image != image || cg_image != lib_image;
+}