Skip to content

Instantly share code, notes, and snippets.

@ariel-avi
Created November 4, 2020 20:46
Show Gist options
  • Save ariel-avi/f4b7b91aa097578b840810b2b4430a19 to your computer and use it in GitHub Desktop.
Save ariel-avi/f4b7b91aa097578b840810b2b4430a19 to your computer and use it in GitHub Desktop.
Base.h
#pragma once
class Base {
private:
int m_SomeInt;
public:
inline int getInt() const {
return m_someInt;
}
inline void setInt(int someOtherInt) {
m_SomeInt = someOtherInt;
}
Base() {}
virtual ~Base() = default;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment