Revision | 8f688a3403f4af74827635d543b677ebc0fedcc6 (tree) |
---|---|
Time | 2014-01-10 10:08:11 |
Author | Steve Peters <scpeters@osrf...> |
Commiter | Steve Peters |
Change syntax in OgreOSXCocoaWindow.mm to fix compilation for both OSX 10.8 and 10.9
@@ -126,7 +126,7 @@ | ||
126 | 126 | NSString *windowTitle = [NSString stringWithCString:name.c_str() encoding:NSUTF8StringEncoding]; |
127 | 127 | int winx = 0, winy = 0; |
128 | 128 | int depth = 32; |
129 | - NameValuePairList::const_iterator opt{}; | |
129 | + NameValuePairList::const_iterator opt; | |
130 | 130 | mIsFullScreen = fullScreen; |
131 | 131 | |
132 | 132 | if(miscParams) |
@@ -257,7 +257,7 @@ | ||
257 | 257 | } |
258 | 258 | else |
259 | 259 | { |
260 | - NameValuePairList::const_iterator param_useNSView_pair{}; | |
260 | + NameValuePairList::const_iterator param_useNSView_pair; | |
261 | 261 | param_useNSView_pair = miscParams->find("macAPICocoaUseNSView"); |
262 | 262 | |
263 | 263 | if(param_useNSView_pair != miscParams->end()) |