A thousand-iteration body marked inline

This header is included by several .cpp files. What does marking the function inline guarantee?

util.h
inline int addOne(int x) {
    // large body, unlikely to be actually inlined by the compiler's heuristics
    for (int i = 0; i < 1000; ++i) { x = x + 1 - 1; }
    return x + 1;
}

13 of 44 in Compilers