1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

Function defined in a header should be inline. Found by modules build.

llvm-svn: 207157
This commit is contained in:
Richard Smith 2014-04-24 23:14:32 +00:00
parent 09bff5120d
commit a8439916a2

View File

@ -346,7 +346,7 @@ namespace PBQP {
typedef Graph<RegAllocSolverImpl> Graph;
Solution solve(Graph& G) {
inline Solution solve(Graph& G) {
if (G.empty())
return Solution();
RegAllocSolverImpl RegAllocSolver(G);