Upvote:7
To summarise the comments, no this will not be a problem and is the way to do this. The marriage visitor visa is used to come into the UK, get married and then leave again at the end of the visa, so as long as you comply with the rules it will have no negative impact on a future visa application.