graphite2/graphite-nonvoid-return.patch

13 lines
419 B
Diff
Raw Normal View History

Index: graphite2-1.3.0/tests/bittwiddling/bits.cpp
===================================================================
--- graphite2-1.3.0.orig/tests/bittwiddling/bits.cpp
+++ graphite2-1.3.0/tests/bittwiddling/bits.cpp
@@ -81,6 +81,7 @@ namespace
{
if (!std::numeric_limits<T>::is_signed) o.put('u');
o << "int" << std::dec << sizeof(T)*8;
+ return 0;
}
template<typename T>