Another build fix
C++ is not <any other language where you don't need a useless constructor>
This commit is contained in:
parent
9d1737f33b
commit
ff629d543a
|
@ -9,6 +9,9 @@
|
|||
|
||||
using namespace antlr4;
|
||||
|
||||
ANTLRFileStream::ANTLRFileStream(): ANTLRInputStream() {
|
||||
}
|
||||
|
||||
void ANTLRFileStream::loadFromFile(const std::string &fileName) {
|
||||
_fileName = fileName;
|
||||
if (_fileName.empty()) {
|
||||
|
|
|
@ -14,6 +14,7 @@ namespace antlr4 {
|
|||
// TODO: this class needs testing.
|
||||
class ANTLR4CPP_PUBLIC ANTLRFileStream : public ANTLRInputStream {
|
||||
public:
|
||||
ANTLRFileStream();
|
||||
ANTLRFileStream(const std::string &) = delete;
|
||||
ANTLRFileStream(const char *data, size_t length) = delete;
|
||||
ANTLRFileStream(std::istream &stream) = delete;
|
||||
|
|
Loading…
Reference in New Issue