changed inline function to regular function
Merge pull request #1 from seanwolter/master

changed inline function to regular function