Skip to content

Commit

Permalink
removed use of c++11 'auto' for iterator type
Browse files Browse the repository at this point in the history
  • Loading branch information
jmwohl committed Jun 9, 2014
1 parent b2fb212 commit f868753
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
Binary file not shown.
Binary file not shown.
3 changes: 2 additions & 1 deletion osc_graphics_example/src/ofApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ void ofApp::update(){
//--------------------------------------------------------------
void ofApp::draw() {
// loop through the vector of remoteMicePositions, draw 'em.
for(auto iterator = remoteMicePositions.begin(); iterator != remoteMicePositions.end(); iterator++) {
typedef map<string, ofVec2f>::iterator it_type;
for(it_type iterator = remoteMicePositions.begin(); iterator != remoteMicePositions.end(); iterator++) {
ofVec2f mousePos = iterator->second;
drawRemoteMouse(mousePos.x, mousePos.y);
}
Expand Down

0 comments on commit f868753

Please sign in to comment.