Show
Ignore:
Timestamp:
11/16/09 16:17:57 (5 years ago)
Author:
robert
Message:

Removed throw.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgUtil/TriStrip_graph_array.h

    r9655 r10757  
    33////////////////////////////////////////////////////////////////////// 
    44// 
    5 //  Copyright (C) 2002 Tanguy Fautré. 
     5//  Copyright (C) 2002 Tanguy Fautrï¿œ. 
    66// 
    77//  This software is provided 'as-is', without any express or implied 
     
    2121//  3. This notice may not be removed or altered from any source distribution. 
    2222// 
    23 //  Tanguy Fautré 
     23//  Tanguy Fautrï¿œ 
    2424//  softdev@pandora.be 
    2525// 
     
    259259template <class nodetype, class arctype> 
    260260inline typename graph_array<nodetype, arctype>::node & graph_array<nodetype, arctype>::operator [] (const nodeid & i) { 
    261     // Debug check 
    262     // assert(i < size()); 
    263     if (i >= size()) throw "graph_array<nodetype, arctype>::operator [] out of range"; 
    264  
    265261    return m_Nodes[i]; 
    266262} 
     
    269265template <class nodetype, class arctype> 
    270266inline const typename graph_array<nodetype, arctype>::node & graph_array<nodetype, arctype>::operator [] (const nodeid & i) const { 
    271     // Debug check 
    272     // assert(i < size()); 
    273     if (i >= size()) throw "graph_array<nodetype, arctype>::operator [] out of range"; 
    274  
    275267    return m_Nodes[i]; 
    276268}