mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 00:26:39 +00:00 
			
		
		
		
	Always declare operator<< for using a TextKeyMap with Ogre::Any
This commit is contained in:
		
							parent
							
								
									1747c1e01a
								
							
						
					
					
						commit
						bec538bfa1
					
				
					 2 changed files with 10 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -54,9 +54,6 @@ typedef unsigned char ubyte;
 | 
			
		|||
namespace std
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
// These operators allow extra data types to be stored in an Ogre::Any
 | 
			
		||||
// object, which can then be stored in user object bindings on the nodes
 | 
			
		||||
 | 
			
		||||
// TODO: Do something useful
 | 
			
		||||
ostream& operator<<(ostream &o, const NifOgre::TextKeyMap&)
 | 
			
		||||
{ return o; }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -81,4 +81,14 @@ public:
 | 
			
		|||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
namespace std
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
// These operators allow extra data types to be stored in an Ogre::Any
 | 
			
		||||
// object, which can then be stored in user object bindings on the nodes
 | 
			
		||||
 | 
			
		||||
ostream& operator<<(ostream &o, const NifOgre::TextKeyMap&);
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue