Expected `:' before ‘static’

From Cppsyntax

Jump to: navigation, search

You can get the error message

 Expected `:' before ‘static’

if you forget a colon after the privacy indicator (e.g. "public"). See Expected `:' before ‘int’.

Personal tools