summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaslersn <sebastian.hasler@gmx.net>2020-06-12 13:02:59 +0200
committerhaslersn <sebastian.hasler@gmx.net>2020-06-12 13:02:59 +0200
commit95ca21ee6cc7c58694c64feee27e24d8aed74f78 (patch)
treefe98633fb333ec544a0899a6964bc7c6898e8a71
parentc2a03d814283bcbeb78f03711aa6216cc105eaa3 (diff)
enginelibrary: Roundtrip check failure is not necessarily due to libdjinterop bug
-rw-r--r--src/djinterop/enginelibrary/el_track_impl.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/djinterop/enginelibrary/el_track_impl.hpp b/src/djinterop/enginelibrary/el_track_impl.hpp
index f1964ae..bf82ee6 100644
--- a/src/djinterop/enginelibrary/el_track_impl.hpp
+++ b/src/djinterop/enginelibrary/el_track_impl.hpp
@@ -140,6 +140,9 @@ public:
// write.
if (!(T::decode(encoded_content) == content))
{
+ // TODO (haslersn): As soon as warnings are implemented, add the
+ // wording similar to "Either you got a warning above which tells
+ // you what is wrong, or this is a bug in libdjinterop."
throw std::logic_error{
"Data supplied for column " + std::string(column_name) +
" is not invariant under encoding and subsequent decoding. "