minor cleanup
This commit is contained in:
parent
ca2fdeb640
commit
c24d201c39
|
@ -1340,7 +1340,7 @@ cmSourceFile* cmMakefile::GetSource(const char* sourceName) const
|
|||
for(std::vector<cmSourceFile*>::const_iterator i = m_SourceFiles.begin();
|
||||
i != m_SourceFiles.end(); ++i)
|
||||
{
|
||||
if ((*i)->GetSourceNameReference() == s)
|
||||
if ((*i)->GetSourceName() == s)
|
||||
{
|
||||
if ((ext.size() == 0 || (ext == (*i)->GetSourceExtension())))
|
||||
{
|
||||
|
|
|
@ -91,8 +91,7 @@ public:
|
|||
* The file name associated with stripped off directory and extension.
|
||||
* (In most cases this is the name of the class.)
|
||||
*/
|
||||
std::string GetSourceName() const {return m_SourceName;}
|
||||
const std::string &GetSourceNameReference() const {return m_SourceName;}
|
||||
const std::string &GetSourceName() const {return m_SourceName;}
|
||||
void SetSourceName(const char *name) {m_SourceName = name;}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue