#ifndef TRANSLATOR_H
#define TRANSLATOR_H
-#include "support/assert.h"
+#include "support/lassert.h"
#include <vector>
#include <utility>
/// Find the mapping for the first argument
T2 const & find(T1 const & first) const
{
- LASSERT(!map.empty(), /**/);
+ LASSERT(!map.empty(), return default_t2);
const_iterator it = map.begin();
const_iterator end = map.end();
for (; it != end; ++it)
/// Find the mapping for the second argument
T1 const & find(T2 const & second) const
{
- LASSERT(!map.empty(), /**/);
+ LASSERT(!map.empty(), return default_t1);
const_iterator it = map.begin();
const_iterator end = map.end();
for (; it != end; ++it)