[Cmake-commits] [cmake-commits] king committed cmListFileCache.h 1.21 1.22
cmake-commits at cmake.org
cmake-commits at cmake.org
Sat Oct 11 12:02:52 EDT 2008
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv14351/Source
Modified Files:
cmListFileCache.h
Log Message:
BUG: Make sure context info is always initialized
This adds a missing default constructor to cmListFileContext that makes
sure the line number is initialized to zero. A zero line number will
indicate a generated context.
Index: cmListFileCache.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmListFileCache.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -C 2 -d -r1.21 -r1.22
*** cmListFileCache.h 13 Mar 2008 17:48:57 -0000 1.21
--- cmListFileCache.h 11 Oct 2008 16:02:50 -0000 1.22
***************
*** 56,59 ****
--- 56,60 ----
std::string FilePath;
long Line;
+ cmListFileContext(): Name(), FilePath(), Line(0) {}
};
More information about the Cmake-commits
mailing list