Ignore:
Timestamp:
Aug 19, 2008, 2:12:01 PM (16 years ago)
Author:
イグトランス (egtra)
Message:

BreakPointsPerFileのメンバ関数の引数で、可能なものはchar*からconst char*にした。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler_Common/src/BreakPoint.cpp

    r719 r725  
    77BreakPointManager *pobj_DBBreakPoint;
    88
    9 BreakPointsPerFile::BreakPointsPerFile(char *lpszFileName,int iLineNum){
     9BreakPointsPerFile::BreakPointsPerFile(const char *lpszFileName,int iLineNum){
    1010    this->filename = lpszFileName;
    1111
     
    162162    HeapDefaultFree(buffer);
    163163}
    164 void BreakPointManager::insert(char *lpszFileName,int iLineNum)
     164void BreakPointManager::insert(const char *lpszFileName,int iLineNum)
    165165{
    166166    BOOST_FOREACH( BreakPointsPerFile &breakpointsPerFile, breakpointsPerFiles )
     
    175175    this->breakpointsPerFiles.push_back( BreakPointsPerFile( lpszFileName, iLineNum ) );
    176176}
    177 void BreakPointManager::remove(char *lpszFileName,int iLineNum)
     177void BreakPointManager::remove(const char *lpszFileName,int iLineNum)
    178178{
    179179    for( int i=0; i<static_cast<int>(this->breakpointsPerFiles.size()); i++ )
Note: See TracChangeset for help on using the changeset viewer.