Created
January 27, 2017 17:52
-
-
Save cschep/d22d1fd89a88daf67e6034741e33111d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
std::vector<long> Journal::shotDatesForCurrentMethod() { | |
Method *current = currentMethod(false); | |
std::vector<long> dates; | |
if (current == nullptr || current->type() != Method::MethodType::shot) { | |
return dates; | |
} | |
for (long date : shotDates) { | |
if (date >= current->startDateNum()) { | |
dates.push_back(date); | |
} | |
} | |
return dates; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment