Skip to content

Commit 2b4c628

Browse files
committed
classes must end with semicolon
1 parent d3b6f97 commit 2b4c628

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

test/TestSampleClass.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ extern "C" {
307307
class ExternClass
308308
{
309309
ExternClass();
310-
}
310+
};
311311
};
312312

313313
// Bug 3514671
@@ -502,14 +502,14 @@ class BlueJay : public Bird, public virtual Food
502502
class Pea : public Vegetable<Green>
503503
{
504504
int i;
505-
}
505+
};
506506

507507

508508
// Bug 3567172
509509
class Pear
510510
{
511511
enum Stem stem_property;
512-
}
512+
};
513513

514514
// Bug 3567854 and 3568241
515515
struct Beans
@@ -572,7 +572,7 @@ class ClassAfterMagicMacro
572572
{
573573
public:
574574
ClassAfterMagicMacro();
575-
}
575+
};
576576

577577
// Bug BitBucket #4
578578
typedef unsigned int uint;
@@ -583,7 +583,7 @@ typedef std::map<std::string, std::string> StrStrMap;
583583
class AfterTypedefClass
584584
{
585585
public:
586-
}
586+
};
587587

588588
// Bug BitBucket #5
589589
class Herb
@@ -633,7 +633,7 @@ class Plumb
633633
class Peach * Plumb::myMethod( class Peach * pInPtr )
634634
{
635635
return pInPtr;
636-
}
636+
};
637637

638638
// Bug BitBucket #9
639639
class Grape
@@ -667,7 +667,7 @@ class Hen
667667
public:
668668
void add(int a=100, b=0xfd, float c=1.7e-3, float d=3.14);
669669
void join(string s1="", string s2="nothing");
670-
}
670+
};
671671

672672
// Bug BitBucket #19
673673
template<typename VALUE,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy