Skip to content

Commit

Permalink
[Bugfix:RainbowGrades] fix compilation error (#46)
Browse files Browse the repository at this point in the history
Co-authored-by: Barb Cutler <Barb Cutler>
  • Loading branch information
bmcutler authored Feb 1, 2023
1 parent 881a9c3 commit a3165a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions iclicker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ void MatchClickerRemotes(std::vector<Student*> &students, const std::string &rem
continue;
}
assert (s != NULL);
if (s->getRemoteID().size() != 0) {
if (false) { //s->getRemoteID().size() != 0) {
std::cout << "student " << username << " has multiple remotes (replacing a lost remote)" << std::endl;
}
s->setRemoteID(remote);
//s->setRemoteID(remote);
//std::cout << "MATCH " << username << " " << remote << std::endl;
if (GLOBAL_CLICKER_MAP.find(remote) != GLOBAL_CLICKER_MAP.end()) {
std::cout << "ERROR! already have this clicker assigned " << remote << " " << s->getUserName() << std::endl;
Expand Down
2 changes: 1 addition & 1 deletion output.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1124,7 +1124,7 @@ void start_table_output( bool /*for_instructor*/,
// ICLICKER
if (DISPLAY_ICLICKER && ICLICKER_QUESTION_NAMES.size() > 0) {

if (this_student->getRemoteID().size() != 0) { // && this_student->hasPriorityHelpStatus()) {
if (false) { //this_student->getRemoteID().size() != 0) { // && this_student->hasPriorityHelpStatus()) {
table.set(myrow,counter++,TableCell("ccccff","registered"));
//} else if (this_student->getRemoteID() != "") {
//table.set(myrow,counter++,TableCell("ffffff","registered"));
Expand Down

0 comments on commit a3165a8

Please sign in to comment.