diff options
Diffstat (limited to 'examples/background_task/src/backgroundtask.cpp')
| -rw-r--r-- | examples/background_task/src/backgroundtask.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/background_task/src/backgroundtask.cpp b/examples/background_task/src/backgroundtask.cpp index 9b0a17be..29a1cf05 100644 --- a/examples/background_task/src/backgroundtask.cpp +++ b/examples/background_task/src/backgroundtask.cpp @@ -33,7 +33,7 @@ uint64_t InspireWriteCallback(uint8_t *data, uint64_t len, void *ctxt) std::this_thread::sleep_for(std::chrono::seconds(3)); } } - } catch (Json::Exception e) + } catch (const Json::Exception& e) { LogError("JSON exception! %s", e.m_message.c_str()); inspireBackgroundTask->Cancel(); |
