Files
thirdparty-ArduinoJson/src/ArduinoJson/Polyfills/utility.hpp
2018-05-29 08:31:39 +02:00

17 lines
285 B
C++

// ArduinoJson - arduinojson.org
// Copyright Benoit Blanchon 2014-2018
// MIT License
#pragma once
namespace ArduinoJson {
namespace Internals {
template <typename T>
inline void swap(T& a, T& b) {
T t(a);
a = b;
b = t;
}
} // namespace Internals
} // namespace ArduinoJson