I am writing a chip8 emulator as a fun project, and when using the dot(.) operator on an object of class chip8, the function void init() token shows up green as public instead of red as private, in the code completion window.
class chip8 {
private:
unsigned short int opcode;
unsigned char memory[4096];
unsigned char V[16];
unsigned short int I;
unsigned short int pc;
unsigned char delayTimer;
unsigned char soundTimer;
unsigned short int chip8Stack[16];
unsigned short int sp;
void init();
EDIT: I reloaded the project, which I should have done before making this post
, and everything is working fine again.