• Gauthier Quesnel's avatar
    travis: fix segfault for clang 8 · 0de59ca3
    Gauthier Quesnel authored
    The travis clang-8 reports a SIGILL with the code:
    
        std::string str = "    ";
        Ensures(baryonyx::left_trim(str) == "");
    
    Fix the problem using .empty() instead of operator==.
    
    - travis:
      - use `-O2` seems to fix a segfault in the testlib unit test.
      - execute test with gdb
    0de59ca3