Skip to content

Commit

Permalink
Fix building
Browse files Browse the repository at this point in the history
  • Loading branch information
mwydmuch committed Sep 8, 2024
1 parent 625b24b commit 0ed1433
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/lib/ViZDoomController.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
Copyright (C) 2016 by Wojciech Jaśkowski, Michał Kempka, Grzegorz Runc, Jakub Toczek, Marek Wydmuch
Copyright (C) 2017 - 2022 by Marek Wydmuch, Michał Kempka, Wojciech Jaśkowski, and the respective contributors
Copyright (C) 2023 - 2024 by Marek Wydmuch, Farama Foundation, and the respective contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -57,7 +58,6 @@ namespace vizdoom {
this->automapBuffer = nullptr;

/* Threads */
this->signalThread = nullptr;
this->doomThread = nullptr;

/* Flow control */
Expand Down
2 changes: 2 additions & 0 deletions src/lib/ViZDoomController.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/*
Copyright (C) 2016 by Wojciech Jaśkowski, Michał Kempka, Grzegorz Runc, Jakub Toczek, Marek Wydmuch
Copyright (C) 2017 - 2022 by Marek Wydmuch, Michał Kempka, Wojciech Jaśkowski, and the respective contributors
Copyright (C) 2023 - 2024 by Marek Wydmuch, Farama Foundation, and the respective contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
7 changes: 1 addition & 6 deletions src/lib/ViZDoomExceptions.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
Copyright (C) 2016 by Wojciech Jaśkowski, Michał Kempka, Grzegorz Runc, Jakub Toczek, Marek Wydmuch
Copyright (C) 2017 - 2022 by Marek Wydmuch, Michał Kempka, Wojciech Jaśkowski, and the respective contributors
Copyright (C) 2023 - 2024 by Marek Wydmuch, Farama Foundation, and the respective contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -44,12 +45,6 @@ namespace vizdoom {
else return "Unknown shared memory error.";
}

/* SignalException */
const char *SignalException::what() const throw() {
std::string what = "Signal " + this->signal + " received. ViZDoom instance has been closed.";
return strdup(what.c_str());
}

/* ViZDoomErrorException */
const char *ViZDoomErrorException::what() const throw() {
if (this->error.length()) return this->error.c_str();
Expand Down
1 change: 1 addition & 0 deletions src/lib_python/ViZDoomPythonModule.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
Copyright (C) 2016 by Wojciech Jaśkowski, Michał Kempka, Grzegorz Runc, Jakub Toczek, Marek Wydmuch
Copyright (C) 2017 - 2022 by Marek Wydmuch, Michał Kempka, Wojciech Jaśkowski, and the respective contributors
Copyright (C) 2023 - 2024 by Marek Wydmuch, Farama Foundation, and the respective contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down

0 comments on commit 0ed1433

Please sign in to comment.