fixing CI builds - no C++11...
diff --git a/examples/disabled/main.cpp b/examples/disabled/main.cpp
index a5a62c2..5fcfe79 100644
--- a/examples/disabled/main.cpp
+++ b/examples/disabled/main.cpp
@@ -8,9 +8,11 @@
     return doctest::String("double: ") + doctest::toString(e);
 }
 
+static doctest::String intTranslator(int ex) { return doctest::String("int: ") + doctest::toString(ex); }
+
 int main(int argc, char** argv) {
     // set an exception translator for int
-    doctest::registerExceptionTranslator<int>([](int in){ return doctest::String("int: ") + doctest::toString(in); });
+    doctest::registerExceptionTranslator(intTranslator);
     
     doctest::Context context; // initialize