Changeset 5937c50 in tol
- Timestamp:
- Apr 2, 2009, 10:33:52 AM (18 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- dc0a604
- Parents:
- 584d9b3
- File:
-
- 1 edited
-
tol/btol/bgrammar/nameblock.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tol/btol/bgrammar/nameblock.cpp
r584d9b3 r5937c50 56 56 BObjByClassNameHash BNameBlock::usingSymbolsByClass_; 57 57 58 static BFixedSizeMemoryBase* BFSMEM_Hndlr = 59 BFSMSingleton<sizeof(BNameBlock)>::Handler(); 58 60 59 61 //-------------------------------------------------------------------- … … 101 103 SetEmptyKey(public_ ,NULL); 102 104 SetEmptyKey(private_,NULL); 103 short isAssigned = B Object::IsAssigned();105 short isAssigned = BFSMEM_Hndlr->IsAssigned(this,this->_bfsm_PageNum__); 104 106 createdWithNew_ = isAssigned!=-1; 105 107 } … … 122 124 SetEmptyKey(public_ ,NULL); 123 125 SetEmptyKey(private_,NULL); 124 short isAssigned = B Object::IsAssigned();126 short isAssigned = BFSMEM_Hndlr->IsAssigned(this,this->_bfsm_PageNum__); 125 127 createdWithNew_ = isAssigned!=-1; 126 128 } … … 141 143 owner_ (NULL) 142 144 { 143 short isAssigned = B Object::IsAssigned();145 short isAssigned = BFSMEM_Hndlr->IsAssigned(this,this->_bfsm_PageNum__); 144 146 createdWithNew_ = isAssigned!=-1; 145 147 } … … 205 207 //-------------------------------------------------------------------- 206 208 { 207 if(createdWithNew_) { return(BObject::IsAssigned()); } 208 else { return(false); } 209 if(createdWithNew_) 210 { 211 short isAssigned = BFSMEM_Hndlr->IsAssigned(this,this->_bfsm_PageNum__); 212 return(isAssigned); 213 } 214 else 215 { 216 return(false); 217 } 209 218 } 210 219
Note: See TracChangeset
for help on using the changeset viewer.
