Changeset 725 in dev


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

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

Location:
trunk/ab5.0/abdev/BasicCompiler_Common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler_Common/include/BreakPoint.h

    r648 r725  
    77    std::vector<int> lines;
    88
    9     BreakPointsPerFile(char *lpszFileName,int iLineNum);
     9    BreakPointsPerFile(const char *lpszFileName,int iLineNum);
    1010
    1111    void add(int iLineNum);
     
    2323    BreakPointManager();
    2424
    25     void insert(char *lpszFileName,int iLineNum);
    26     void remove(char *lpszFileName,int iLineNum);
     25    void insert(const char *lpszFileName,int iLineNum);
     26    void remove(const char *lpszFileName,int iLineNum);
    2727
    2828    char *update(char *nativeCodeBuffer,int SizeOf_CodeSection);
  • 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.