Changeset b6a1e8e in tol


Ignore:
Timestamp:
Aug 21, 2009, 5:03:58 PM (17 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
6b6bd3d
Parents:
676c284
Message:

Argument of method IsInstanceOf should be const

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@1231 be4846ae-f051-483a-831f-b64e7d08527f

Location:
tol/btol/bgrammar
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tol/btol/bgrammar/nameblock.cpp

    r676c284 rb6a1e8e  
    248248
    249249//--------------------------------------------------------------------
    250   bool BNameBlock::IsInstanceOf(BClass* cls) const
     250  bool BNameBlock::IsInstanceOf(const BClass* cls) const
    251251//--------------------------------------------------------------------
    252252{
  • tol/btol/bgrammar/tol_bnameblock.h

    r676c284 rb6a1e8e  
    114114  void  PutClass (BClass* cls);
    115115
    116   bool IsInstanceOf(BClass* cls) const;
     116  bool IsInstanceOf(const BClass* cls) const;
    117117  bool IsInstanceOf(const BText& name) const;
    118118
Note: See TracChangeset for help on using the changeset viewer.