That's not where you put "?w=1".

I think that's supposed to be a query parameter, that is, put it in the URL of the page you were looking at, not in the source code.

Furthermore, you generally shouldn't write a function's implementation in a header file. You might get away with it for something this small, but it's definitely not best practice. It should go in construction.cpp, and the declaration in construction.h should just be the name and parameters.