Fix error: conversion from ‘void’ to non-scalar type ‘std::stack<std::basic_string<char> >’ requested