]> git.tdb.fi Git - builder.git/blobdiff - source/csourcefile.cpp
Reload includes from CSourceFiles when they are modified
[builder.git] / source / csourcefile.cpp
index ee301d7254d35b9699687e80f9d20d8663e83adb..ca061d2b19e581ccdc1f6f308c2848533f8135c9 100644 (file)
@@ -59,3 +59,10 @@ void CSourceFile::find_dependencies()
                        add_dependency(*hdr);
        }
 }
+
+void CSourceFile::modified()
+{
+       includes.clear();
+       depends.clear();
+       find_dependencies();
+}