Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2020-01-04 21:15:22 +0300
committerDavid Crocker <dcrocker@eschertech.com>2020-01-04 21:15:22 +0300
commit5bd28a1aea25e83e6e1d7a0ca50cd000e7baf1a7 (patch)
tree059d11bfc384d80c7ff07d3457e994ac50a0c07e /src/Networking
parent8ded9143fa9d07dcddd525683403980c42881f1a (diff)
Conditional GCode fixes and exception specifiers
Loops are now working Added noexcept specifiers to omst of the remaining C++ source files
Diffstat (limited to 'src/Networking')
-rw-r--r--src/Networking/Network.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Networking/Network.cpp b/src/Networking/Network.cpp
index 856a8678..6b8d55c9 100644
--- a/src/Networking/Network.cpp
+++ b/src/Networking/Network.cpp
@@ -71,8 +71,8 @@ Network::Network(Platform& p) noexcept : platform(p), responders(nullptr), nextR
static const ObjectModelArrayDescriptor interfaceArrayDescriptor =
{
- [] (ObjectModel *self) -> size_t { return NumNetworkInterfaces; },
- [] (ObjectModel *self, size_t n) -> void* { return (void *)(((Network*)self)->GetInterface(n)); }
+ [] (ObjectModel *self) noexcept -> size_t { return NumNetworkInterfaces; },
+ [] (ObjectModel *self, size_t n) noexcept -> void* { return (void *)(((Network*)self)->GetInterface(n)); }
};
// Macro to build a standard lambda function that includes the necessary type conversions