mirror of
				https://github.com/ohwgiles/laminar.git
				synced 2025-06-13 12:54:29 +00:00 
			
		
		
		
	log: use fully qualified namespace ref for __FILE_BASE__
helps prevent conflicts if "using namespace" is used
This commit is contained in:
		
							parent
							
								
									21c097a7a9
								
							
						
					
					
						commit
						4614ada1d3
					
				| @ -46,8 +46,8 @@ namespace _ { | |||||||
|         return static_alloc_str_impl<N>(str, std::make_integer_sequence<int, N>()); |         return static_alloc_str_impl<N>(str, std::make_integer_sequence<int, N>()); | ||||||
|     } |     } | ||||||
| } | } | ||||||
| #define __FILE_BASE__ (_::static_alloc_str<_::static_strlen(_::static_basename(__FILE__))>(_::static_basename(__FILE__)).buf) | #define __FILE_BASE__ (::_::static_alloc_str<::_::static_strlen(::_::static_basename(__FILE__))>\ | ||||||
| 
 |                         (::_::static_basename(__FILE__)).buf) | ||||||
| 
 | 
 | ||||||
| // Provide alternative implementations to those from kj/debug.h which
 | // Provide alternative implementations to those from kj/debug.h which
 | ||||||
| // use __FILE__ directly and thus cause the full path to be encoded in
 | // use __FILE__ directly and thus cause the full path to be encoded in
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user